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