Classes | |
struct | ads::Select1st< Pair > |
Functor for selecting the first element of a pair. More... | |
struct | ads::Select2nd< Pair > |
Functor for selecting the second element of a pair. More... | |
struct | ads::SelectElement< Sequence, N > |
Functor for selecting an element of a sequence. More... | |
Functions | |
template<class Pair> | |
Select1st< Pair > | ads::select_1st () |
Convenience function for constructing a Select1st . | |
template<class Pair> | |
Select2nd< Pair > | ads::select_2nd () |
Convenience function for constructing a Select2nd . | |
template<class Sequence, int N> | |
SelectElement< Sequence, N > | ads::select_element () |
Convenience function for constructing a SelectElement . |
std::pair
. This functionality is implemented here to avoid dependence on the extensions.The SelectElement functor selects the n_th element of a sequence.