Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::index::detail::indexable< std::pair< Indexable, T2 >, false > Struct Template Reference

The function object extracting Indexable from Value. More...

#include <indexable.hpp>

Public Types

typedef Indexable const & result_type
 The type of result returned by function object. More...
 

Public Member Functions

 BOOST_MPL_ASSERT_MSG ((detail::is_indexable< Indexable >::value), NOT_VALID_INDEXABLE_TYPE,(Indexable))
 
result_type operator() (std::pair< Indexable, T2 > const &v) const
 Return indexable extracted from the value. More...
 

Detailed Description

template<typename Indexable, typename T2>
struct boost::geometry::index::detail::indexable< std::pair< Indexable, T2 >, false >

The function object extracting Indexable from Value.

This specialization translates from std::pair<Indexable, T2>.

Template Parameters
IndexableThe Indexable type.
T2The second type.

Member Typedef Documentation

template<typename Indexable , typename T2 >
typedef Indexable const& boost::geometry::index::detail::indexable< std::pair< Indexable, T2 >, false >::result_type

The type of result returned by function object.

Member Function Documentation

template<typename Indexable , typename T2 >
boost::geometry::index::detail::indexable< std::pair< Indexable, T2 >, false >::BOOST_MPL_ASSERT_MSG ( (detail::is_indexable< Indexable >::value)  ,
NOT_VALID_INDEXABLE_TYPE  ,
(Indexable)   
)
template<typename Indexable , typename T2 >
result_type boost::geometry::index::detail::indexable< std::pair< Indexable, T2 >, false >::operator() ( std::pair< Indexable, T2 > const &  v) const
inline

Return indexable extracted from the value.

Parameters
vThe value.
Returns
The indexable.

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