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

boost::geometry::index::indexable
PrevUpHomeNext

The function object extracting Indexable from Value.

Description

It translates Value object to Indexable object. The default version handles Values which are Indexables. This template is also specialized for std::pair<Indexable, T2> and boost::tuple<Indexable, ...>.

Header

#include <boost/geometry/index/indexable.hpp>

Synopsis
template<typename Value>
struct indexable
{
  // ...
};
Template parameter(s)

Parameter

Description

Value

The Value type which may be translated directly to the Indexable.

Typedef(s)

Type

Description

result_type

The type of result returned by function object.

Member(s)

Modifier

Function

Description

const

operator()(Value const &)

Return indexable extracted from the value.

Return indexable extracted from the value.

Synopsis
result_type operator()(Value const & v)
Modifier(s)

const

Parameter(s)

Type

Name

Description

Value const &

v

The value.

Returns

The indexable.


PrevUpHomeNext