Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::parameter_type_of< Method, Index > Struct Template Reference

Meta-function selecting a parameter type of a (member) function, by index. More...

#include <parameter_type_of.hpp>

Public Types

typedef
boost::function_types::parameter_types
< Method >::type 
parameter_types
 
typedef boost::mpl::if_
< boost::function_types::is_member_function_pointer
< Method >, boost::mpl::int_
< 1 >, boost::mpl::int_
< 0 > >::type 
base_index_type
 
typedef boost::mpl::if_c
< Index==0, base_index_type,
typename boost::mpl::plus
< base_index_type,
boost::mpl::int_< Index >
>::type >::type 
indexed_type
 
typedef
boost::remove_reference
< typename boost::mpl::at
< parameter_types,
indexed_type >::type >::type 
type
 

Detailed Description

template<typename Method, std::size_t Index>
struct boost::geometry::parameter_type_of< Method, Index >

Meta-function selecting a parameter type of a (member) function, by index.

Member Typedef Documentation

template<typename Method , std::size_t Index>
typedef boost::mpl::if_< boost::function_types::is_member_function_pointer<Method>, boost::mpl::int_<1>, boost::mpl::int_<0> >::type boost::geometry::parameter_type_of< Method, Index >::base_index_type
template<typename Method , std::size_t Index>
typedef boost::mpl::if_c< Index == 0, base_index_type, typename boost::mpl::plus < base_index_type, boost::mpl::int_<Index> >::type >::type boost::geometry::parameter_type_of< Method, Index >::indexed_type
template<typename Method , std::size_t Index>
typedef boost::function_types::parameter_types< Method >::type boost::geometry::parameter_type_of< Method, Index >::parameter_types
template<typename Method , std::size_t Index>
typedef boost::remove_reference< typename boost::mpl::at < parameter_types, indexed_type >::type >::type boost::geometry::parameter_type_of< Method, Index >::type

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