...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.
#include <boost/geometry/index/indexable.hpp>
template<
typename Value
>
struct indexable
{
// ...
};
Parameter |
Description |
---|---|
|
The Value type which may be translated directly to the Indexable. |
Type |
Description |
---|---|
The type of result returned by function object. It should be const Indexable reference. |
Modifier |
Function |
Description |
---|---|---|
|
Return indexable extracted from the value. |
Return indexable extracted from the value.
result_type
operator()
(
Value const &
v
)
const
Type |
Name |
Description |
---|---|---|
|
|
The value. |
The indexable.