Selecting elements from a pair. More...
#include "../defs.h"
#include <functional>
Go to the source code of this file.
Classes | |
struct | Select1st< Pair > |
Functor for selecting the first element of a pair. More... | |
struct | Select2nd< Pair > |
Functor for selecting the second element of a pair. More... | |
struct | SelectElement< Sequence, N > |
Functor for selecting an element of a sequence. More... | |
Functions | |
template<class Pair > | |
Select1st< Pair > | select_1st () |
Convenience function for constructing a Select1st . | |
template<class Pair > | |
Select2nd< Pair > | select_2nd () |
Convenience function for constructing a Select2nd . | |
template<class Sequence , int N> | |
SelectElement< Sequence, N > | select_element () |
Convenience function for constructing a SelectElement . |
Selecting elements from a pair.