The function object extracting Indexable from Value. More...
#include <indexable.hpp>
Public Types | |
typedef detail::indexable < Value >::result_type | result_type |
The type of result returned by function object. It should be const Indexable reference. | |
Public Types inherited from boost::geometry::index::detail::indexable< Value > | |
typedef Value const & | result_type |
The type of result returned by function object. | |
Public Member Functions | |
result_type | operator() (Value const &v) const |
Return indexable extracted from the value. More... | |
Public Member Functions inherited from boost::geometry::index::detail::indexable< Value > | |
result_type | operator() (Value const &v) const |
Return indexable extracted from the value. More... | |
The function object extracting Indexable from Value.
It translates Value object to Indexable object. By default, it can handle Values which are Indexables, std::pair<Indexable, T2>, boost::tuple<Indexable, ...> and std::tuple<Indexable, ...> if STD tuples and variadic templates are supported.
Value | The Value type which may be translated directly to the Indexable. |
|
inline |
Return indexable extracted from the value.
v | The value. |