8 #ifndef MAP_VECTOR_PRINTERS_HPP_ 9 #define MAP_VECTOR_PRINTERS_HPP_ 22 template<
typename vector_type,
unsigned int ... prp>
32 std::stringstream & ss;
50 ss <<
vt.template get<T::value>(
ele) <<
" ";
vector_printer(vector_type &vt, size_t &ele, std::stringstream &ss)
constructor
vector_type & vt
vector to print
this class is a functor for "for_each" algorithm
void operator()(T &t) const
It call the copy function for each property.
size_t & ele
element to print