Support Class Library
A set of tools providing classes and utility
Classes | Namespaces | Functions
map.h File Reference
#include <scl/stream/details/deprecation.h>
#include <scl/stream/details/iterator/OpStreamIterator.h>
#include <functional>
#include <memory>
#include <scl/tools/make/make.hpp>
#include <scl/tools/meta/meta.hpp>

Go to the source code of this file.

Classes

class  scl::stream::operators::details::MapOperator< T, U >
 Mapping operation. More...
 
struct  scl::stream::operators::details::map_toolbox< T, U >
 Tag type that allows operation piping for map operations. More...
 

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::stream
 Namespace of the stream API.
 
 scl::stream::operators
 Namespace for intermediate operations on streams (lazy)
 
 scl::stream::operators::details
 Namespace for implementation details of operators.
 

Functions

template<class F , class Fn = decltype( scl::tools::meta ::as_fn(std::declval<F>())), class T = scl::tools::meta ::decay_t< scl::tools::meta ::arg_t<Fn, 0>>, class U = scl::tools::meta ::decay_t< scl::tools::meta ::return_t<Fn>>>
details::map_toolbox< T, U > scl::stream::operators::map (F &&mapper)
 Map a stream. More...
 
template<class T , class U = T>
details::map_toolbox< T, U > scl::stream::operators::map_ (typename details::map_toolbox< T, U >::mapper_t mapper)
 Map a stream by explicitly providing the type arguments. More...
 
template<class T , class U >
Stream< U > scl::stream::operators::operator| (const Stream< T > &lhs, const details::map_toolbox< T, U > &rhs)
 Pipe operator overload for map toolbox tags. More...