select.h File Reference

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.

Detailed Description

Selecting elements from a pair.

Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3