Regina Calculation Engine
|
An adaptable unary function used to select the first element of a pair. More...
#include <stlutils.h>
Public Member Functions | |
const Pair::first_type & | operator() (const Pair &x) const |
Returns the first element of the given pair. |
An adaptable unary function used to select the first element of a pair.
This class is for use with the Standard Template Library.
Pair
has a data member Pair::first
.const Pair::first_type& regina::stl::select1st< Pair >::operator() | ( | const Pair & | x | ) | const [inline] |
Returns the first element of the given pair.
x | the pair to examine. |