Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FunctionTraits< ReturnType(ClassType::*)(Args...) const > Struct Template Reference

Detailed Description

template<typename ClassType, typename ReturnType, typename... Args>
struct thrill::common::FunctionTraits< ReturnType(ClassType::*)(Args...) const >

specialize for pointers to const member function

Definition at line 34 of file function_traits.hpp.

+ Inheritance diagram for FunctionTraits< ReturnType(ClassType::*)(Args...) const >:

#include <function_traits.hpp>

Public Types

template<size_t i>
using arg = typename std::tuple_element< i, args_tuple >::type
 
template<size_t i>
using arg_plain = typename std::remove_cv< typename std::remove_reference< arg< i > >::type >::type
 
using args_tuple = std::tuple< Args...>
 the tuple of arguments More...
 
using args_tuple_plain = std::tuple< typename std::remove_cv< typename std::remove_reference< Args >::type >::type...>
 the tuple of arguments: with remove_cv and remove_reference applied. More...
 
using is_const = std::true_type
 
using result_type = ReturnType
 

Static Public Attributes

static constexpr size_t arity = sizeof ... (Args)
 arity is the number of arguments. More...
 

Member Typedef Documentation

using arg = typename std::tuple_element<i, args_tuple>::type

the i-th argument is equivalent to the i-th tuple element of a tuple composed of those arguments.

Definition at line 53 of file function_traits.hpp.

using arg_plain = typename std::remove_cv< typename std::remove_reference<arg<i> >::type>::type

return i-th argument reduced to plain type: remove_cv and remove_reference.

Definition at line 60 of file function_traits.hpp.

using args_tuple = std::tuple<Args...>

the tuple of arguments

Definition at line 43 of file function_traits.hpp.

using args_tuple_plain = std::tuple< typename std::remove_cv< typename std::remove_reference<Args>::type>::type...>

the tuple of arguments: with remove_cv and remove_reference applied.

Definition at line 48 of file function_traits.hpp.

using is_const = std::true_type

Definition at line 40 of file function_traits.hpp.

using result_type = ReturnType

Definition at line 39 of file function_traits.hpp.

Member Data Documentation

constexpr size_t arity = sizeof ... (Args)
static

arity is the number of arguments.

Definition at line 37 of file function_traits.hpp.


The documentation for this struct was generated from the following file: