9 namespace terminators {
18 template <
class T,
class Compare = std::less<T>,
class Allocator = std::allocator<T>>
52 for(
auto&& payload : *
this){
54 ret.insert(*payload.value());
71 template <
class Compare,
class Allocator>
87 template <
class Compare,
class Allocator>
101 return packer.process();
113 template <
class T,
class Compare,
class Allocator>
116 return packer.process();
BaseStreamIterator< T > parent_iterator_type
Type alias for the "parent" iterator.
typename payload_type::value_type value_type
Type alias for the data type manipulated.
Compare compare_type
The type of comparator.
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 OpStreamIterator< T >::parent_type parent_type
Class that allows packing to a std::set.
details::to_set_toolbox toSet()
Terminator for packing into a set.
Allocator allocator_type
The type of allocator.
constexpr scl::utils::Placeholder _
typename iterator_type::payload_type payload_type
Type alias for the payload used.
A class for iterators used in end operations.
typename iterator_type::parent_iterator_type parent_iterator_type
A class representing a stream iterator's payload.
result_type process()
Process the return value.
Class representing a stream of data.
std::set< T, Compare, Allocator > result_type
Type alias for the computed result.
typename iterator_type::parent_type parent_type
typename iterator_type::result_type result_type