Functor to get the first element of a pair. Use with STL functions like transform(). More...
#include <stl_utils.h>
Public Member Functions | |
template<typename P > | |
P::first_type | operator() (const P &pair) |
Functor to get the first element of a pair. Use with STL functions like transform().
Definition at line 15 of file stl_utils.h.
P::first_type operator() | ( | const P & | pair ) | [inline] |
Definition at line 17 of file stl_utils.h.