9 namespace terminators {
17 template<
class T,
class Allocator = std::allocator<T>>
45 for(
auto&& payload : *
this){
47 ret.push_back(*payload.value());
63 template <
class Allocator>
77 template <
class Allocator>
91 return packer.process();
102 template<
class T,
class Allocator>
105 return packer.process();
BaseStreamIterator< T > parent_iterator_type
Type alias for the "parent" iterator.
VectorPacker(parent_type p)
typename payload_type::value_type value_type
Type alias for the data type manipulated.
Global namespace of the SCL.
void operator|(const Stream< T > &lhs, const details::for_each_toolbox< T > &rhs)
Pipe operator overload for forEach terminators.
it_t it() const
Get a reference to the underlying iterator.
typename iterator_type::result_type result_type
typename iterator_type::parent_type parent_type
typename OpStreamIterator< T >::parent_type parent_type
Allocator allocator_type
The type of allocator used w/ std::vector.
constexpr scl::utils::Placeholder _
typename iterator_type::parent_iterator_type parent_iterator_type
details::to_vector_toolbox toVector()
Terminator that packs into a vector.
typename iterator_type::payload_type payload_type
Type alias for the payload used.
A class for iterators used in end operations.
Class that allows packing to a std::vector.
result_type process()
Process the return value.
A class representing a stream iterator's payload.
Class representing a stream of data.
std::vector< T, Allocator > result_type
Type alias for the computed result.