Fuction object to get the first element of a std::pair. More...
#include <functional.hpp>
Public Types | |
using | argument_type = const std::pair<T1, T2>& |
using | result_type = const T1& |
Public Member Functions | |
const T1 & | operator() (const std::pair< T1, T2 > &p) const |
Fuction object to get the first element of a std::pair.
Definition at line 60 of file functional.hpp.
using claw::const_first< T1, T2 >::argument_type = const std::pair<T1, T2>& |
Definition at line 63 of file functional.hpp.
using claw::const_first< T1, T2 >::result_type = const T1& |
Definition at line 64 of file functional.hpp.
|
inline |
Definition at line 67 of file functional.hpp.