16 #ifndef PAAL_PRINT_COLLECTION_HPP
17 #define PAAL_PRINT_COLLECTION_HPP
19 #include <boost/range/empty.hpp>
20 #include <boost/range.hpp>
33 template <
typename Range,
typename Stream>
35 auto b = std::begin(r);
41 for (
auto &&x : boost::make_iterator_range(++b, e)) {
55 template <
typename Matrix,
typename Stream>
63 for (++b ;b != e; ++b) {
71 #endif // PAAL_PRINT_COLLECTION_HPP
void print_matrix(Stream &o, Matrix &&m, const std::string &del)
prints matrix with delimiters
void print_collection(Stream &o, Range &&r, const std::string &del)
prints collection with delimiters without trailing delimiter