Support Class Library
A set of tools providing classes and utility
|
Namespace for stream terminal/final operations (eager) More...
Namespaces | |
details | |
Namespace for implementation details of terminators. | |
pack | |
A namespace for packing operations (getting a result as a container) | |
Functions | |
template<class F , class Fn = decltype( scl::tools::meta ::as_fn(std::declval<F>())), class T = scl::tools::meta ::remove_cv_ref_t< scl::tools::meta ::arg_t<Fn, 0>>> | |
details::for_each_toolbox< T > | forEach (F callback) |
Invoke a function on each element of a stream. More... | |
template<class T > | |
details::for_each_toolbox< T > | forEach_ (typename details::for_each_toolbox< T >::callback_t cb) |
Invoke a function on each element of a stream by providing the type arguments. More... | |
template<class T > | |
void | operator| (const Stream< T > &lhs, const details::for_each_toolbox< T > &rhs) |
Pipe operator overload for forEach terminators. More... | |
template<class T > | |
pack::details::SetPacker< T >::result_type | operator| (const Stream< T > &lhs, const pack::details::to_set_toolbox &_) |
Pipe operator for packing into a set. More... | |
template<class T , class Compare , class Allocator > | |
pack::details::SetPacker< T >::result_type | operator| (const Stream< T > &lhs, const pack::details::to_set_toolbox_alloc< Compare, Allocator > &_) |
Pipe operator or packing into a set using a specific allocator and comparator. More... | |
template<class T > | |
pack::details::VectorPacker< T >::result_type | operator| (const Stream< T > &lhs, const pack::details::to_vector_toolbox &_) |
Pipe operator for packing into a vector. More... | |
template<class T , class Allocator > | |
pack::details::VectorPacker< T, Allocator >::result_type | operator| (const Stream< T > &lhs, const pack::details::to_vector_toolbox_alloc< Allocator > &_) |
Pipe operator or packing into a vector using a specific allocator. More... | |
Namespace for stream terminal/final operations (eager)
details::for_each_toolbox<T> scl::stream::terminators::forEach | ( | F | callback | ) |
details::for_each_toolbox<T> scl::stream::terminators::forEach_ | ( | typename details::for_each_toolbox< T >::callback_t | cb | ) |
pack::details::VectorPacker<T>::result_type scl::stream::terminators::operator| | ( | const Stream< T > & | lhs, |
const pack::details::to_vector_toolbox & | _ | ||
) |
Pipe operator for packing into a vector.
T | being the value type of the stream |
lhs | being the stream to pack |
_ | being the packer type tag |
Definition at line 89 of file toVector.h.
pack::details::SetPacker<T>::result_type scl::stream::terminators::operator| | ( | const Stream< T > & | lhs, |
const pack::details::to_set_toolbox & | _ | ||
) |
pack::details::VectorPacker<T, Allocator>::result_type scl::stream::terminators::operator| | ( | const Stream< T > & | lhs, |
const pack::details::to_vector_toolbox_alloc< Allocator > & | _ | ||
) |
Pipe operator or packing into a vector using a specific allocator.
T | being the value type of the stream |
Allocator | being the type of allocator to use |
lhs | being the stream to pack |
_ | being the packer type tag |
Definition at line 103 of file toVector.h.
pack::details::SetPacker<T>::result_type scl::stream::terminators::operator| | ( | const Stream< T > & | lhs, |
const pack::details::to_set_toolbox_alloc< Compare, Allocator > & | _ | ||
) |
Pipe operator or packing into a set using a specific allocator and comparator.
T | being the value type of the stream |
Compare | being the comparator type |
Allocator | being the type of allocator to use |
lhs | being the stream to pack |
_ | being the packer type tag |
void scl::stream::terminators::operator| | ( | const Stream< T > & | lhs, |
const details::for_each_toolbox< T > & | rhs | ||
) |