Apache Mesos
Namespaces | Classes | Functions
lambda Namespace Reference

Namespaces

 internal
 

Classes

class  CallableOnce
 
class  CallableOnce< R(Args...)>
 

Functions

template<template< typename...> class Iterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
Iterable< V > map (F &&f, const Iterable< U, Us...> &input)
 
template<template< typename...> class OutputIterable, template< typename...> class InputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
OutputIterable< V > map (F &&f, const InputIterable< U, Us...> &input)
 
template<template< typename...> class Iterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename = typename std::enable_if< !std::is_same<U, V>::value>::type, typename... Us>
Iterable< V > map (F &&f, Iterable< U, Us...> &&input)
 
template<template< typename...> class Iterable, typename F , typename U , typename = typename std::enable_if< std::is_same<U, typename result_of<F(U)>::type>::value>::type, typename... Us>
Iterable< U, Us...> && map (F &&f, Iterable< U, Us...> &&iterable)
 
template<template< typename...> class OutputIterable, template< typename...> class InputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
OutputIterable< V > map (F &&f, InputIterable< U, Us...> &&input)
 
template<template< typename...> class OutputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type>
OutputIterable< V > map (F &&f, std::initializer_list< U > input)
 
template<typename F , typename U , typename V = typename result_of<F(U)>::type>
std::vector< V > map (F &&f, std::initializer_list< U > input)
 
template<typename F , typename... Args>
internal::Partial< typename
std::decay< F >::type,
typename std::decay< Args >
::type...> 
partial (F &&f, Args &&...args)
 

Function Documentation

template<template< typename...> class Iterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
Iterable<V> lambda::map ( F &&  f,
const Iterable< U, Us...> &  input 
)
template<template< typename...> class OutputIterable, template< typename...> class InputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
OutputIterable<V> lambda::map ( F &&  f,
const InputIterable< U, Us...> &  input 
)
template<template< typename...> class Iterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename = typename std::enable_if< !std::is_same<U, V>::value>::type, typename... Us>
Iterable<V> lambda::map ( F &&  f,
Iterable< U, Us...> &&  input 
)
template<template< typename...> class Iterable, typename F , typename U , typename = typename std::enable_if< std::is_same<U, typename result_of<F(U)>::type>::value>::type, typename... Us>
Iterable<U, Us...>&& lambda::map ( F &&  f,
Iterable< U, Us...> &&  iterable 
)
template<template< typename...> class OutputIterable, template< typename...> class InputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type, typename... Us>
OutputIterable<V> lambda::map ( F &&  f,
InputIterable< U, Us...> &&  input 
)
template<template< typename...> class OutputIterable, typename F , typename U , typename V = typename result_of<F(U)>::type>
OutputIterable<V> lambda::map ( F &&  f,
std::initializer_list< U >  input 
)
template<typename F , typename U , typename V = typename result_of<F(U)>::type>
std::vector<V> lambda::map ( F &&  f,
std::initializer_list< U >  input 
)
template<typename F , typename... Args>
internal::Partial< typename std::decay<F>::type, typename std::decay<Args>::type...> lambda::partial ( F &&  f,
Args &&...  args 
)