NiHu  2.0

implementation of placeholders and lambda functions More...

#include <type_traits>
Include dependency graph for lambda.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tmp::select_argument< N, T, Args >
 select N-th argument of a variadic template More...
 
struct  tmp::select_argument< 1U, T, Args... >
 terminating case of select_argument More...
 
struct  tmp::arg< N >
 placeholder that selects N-th argument More...
 
struct  tmp::arg< N >::apply< Args >
 
struct  tmp::isPlaceholder< C >
 metafunction returning std::true_type if its argument is a placeholder More...
 
struct  tmp::isPlaceholder< arg< N > >
 
struct  tmp::isPlaceholderExpression< C >
 metafunction returning std::true_type if its argument is a placeholder expression More...
 
struct  tmp::isPlaceholderExpression< arg< N > >
 
struct  tmp::containsPlaceholderExpression< T, Args >
 
struct  tmp::containsPlaceholderExpressionImpl< First, Args >
 
struct  tmp::containsPlaceholderExpressionImpl< std::true_type, Args... >
 
struct  tmp::containsPlaceholderExpressionImpl< std::false_type >
 
struct  tmp::containsPlaceholderExpressionImpl< std::false_type, Args... >
 
struct  tmp::containsPlaceholderExpression< T, Args >
 
struct  tmp::isPlaceholderExpression< MF< Args... > >
 
struct  tmp::lambda< Exp >
 generate metafunction class from placeholder expression More...
 
struct  tmp::apply< Fun, Args >
 The apply metafunction shortcut for lambda evaluation. More...
 

Namespaces

 tmp
 template metaprogramming functions
 

Typedefs

typedef arg< 1 > tmp::_1
 shorthand for selecting the 1st argument
 
typedef arg< 2 > tmp::_2
 shorthand for selecting the 2nd argument
 
typedef arg< 3 > tmp::_3
 shorthand for selecting the 3rd argument
 

Detailed Description

implementation of placeholders and lambda functions

Definition in file lambda.hpp.