SelectElement< Sequence, N > Struct Template Reference
[Functor: Select]

Functor for selecting an element of a sequence. More...

#include <select.h>

List of all members.

Public Types

typedef std::unary_function
< Sequence, typename
Sequence::value_type > 
Base
 The base type.
typedef Base::argument_type argument_type
 The argument type.
typedef Base::result_type result_type
 The result type.

Public Member Functions

result_typeoperator() (argument_type &x) const
 Return a reference to the N_th element.
const result_typeoperator() (const argument_type &x) const
 Return a const reference to the N_th element.

Detailed Description

template<class Sequence, int N>
struct SelectElement< Sequence, N >

Functor for selecting an element of a sequence.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3