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::tuple< Indexable, Args...>, false > Struct Template Reference

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

#include <indexable.hpp>

Public Types

typedef std::tuple< Indexable,
Args...> 
value_type
 
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() (value_type const &v) const
 Return indexable extracted from the value. More...
 

Detailed Description

template<typename Indexable, typename... Args>
struct boost::geometry::index::detail::indexable< std::tuple< Indexable, Args...>, false >

The function object extracting Indexable from Value.

This specialization translates from std::tuple<Indexable, Args...>. It's defined if the compiler supports tuples and variadic templates.

Template Parameters
IndexableThe Indexable type.

Member Typedef Documentation

template<typename Indexable , typename... Args>
typedef Indexable const& boost::geometry::index::detail::indexable< std::tuple< Indexable, Args...>, false >::result_type

The type of result returned by function object.

template<typename Indexable , typename... Args>
typedef std::tuple<Indexable, Args...> boost::geometry::index::detail::indexable< std::tuple< Indexable, Args...>, false >::value_type

Member Function Documentation

template<typename Indexable , typename... Args>
boost::geometry::index::detail::indexable< std::tuple< Indexable, Args...>, false >::BOOST_MPL_ASSERT_MSG ( (detail::is_indexable< Indexable >::value)  ,
NOT_VALID_INDEXABLE_TYPE  ,
(Indexable)   
)
template<typename Indexable , typename... Args>
result_type boost::geometry::index::detail::indexable< std::tuple< Indexable, Args...>, false >::operator() ( value_type 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: