1 #ifndef TIL_STD_WRAP_H_ 2 #define TIL_STD_WRAP_H_ 8 #include "boost/call_traits.hpp" 36 template <
typename TContainer >
46 template <
typename TContainer >
47 inline void fill(TContainer & c,
typename boost::call_traits<typename TContainer::value_type>::param_type value)
67 template <
typename T,
typename TAlloc >
70 template <
typename T,
typename TAlloc >
74 template <
typename T,
typename TAlloc >
78 template <
typename T,
typename TAlloc >
84 template <
typename T,
typename TAlloc >
87 template <
typename T,
typename TAlloc >
91 template <
typename T,
typename TAlloc >
95 template <
typename T,
typename TAlloc >
basic_range< typename std::vector< T, TAlloc >::iterator > type
Belongs to package Box Do not include directly, include til/Box.h instead.
numeric_array< T, D > size(const Box< T, D > &box)
Return the size of a box.
basic_range< typename std::list< T, TAlloc >::iterator > type
basic_range< typename std::list< T, TAlloc >::const_iterator > type
basic_range< typename std::vector< T, TAlloc >::const_iterator > type
void fill(sparse_vector< T, BaselinePolicy > &v, typename boost::call_traits< T >::param_type value)
Specialized fill for sparse_vector.
A simple range made out of a couple of iterators.
void fill(TContainer &c, typename boost::call_traits< typename TContainer::value_type >::param_type value)
Wrapper of std::fill.
range_of< std::vector< T, TAlloc > >::type whole_range(std::vector< T, TAlloc > &v)