boost::geometry::parameter_type_of< Method, Index > Struct Template Reference

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

List of all members.

## Public 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::function_types::parameter_types < Method >::type | parameter_types
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::function_types::parameter_types< Method >::type boost::geometry::parameter_type_of< Method, Index >::parameter_types

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::remove_reference< typename boost::mpl::at < parameter_types, indexed_type >::type >::type boost::geometry::parameter_type_of< Method, Index >::type

April 2, 2011 | Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK