Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
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. Overload for types compatible with Value but different yet holding referencable Indexable, e.g. tuple containing a reference. |
Return indexable extracted from the value.
result_typeoperator()(Value const &v)
const
|
Type |
Name |
Description |
|---|---|---|
|
|
|
The value. |
The indexable.
Return indexable extracted from the value. Overload for types compatible with Value but different yet holding referencable Indexable, e.g. tuple containing a reference.
template<typename V>result_typeoperator()(V const &v)
const
|
Type |
Name |
Description |
|---|---|---|
|
|
|
The value. |
The indexable.