claw  1.9.0
Public Types | Public Member Functions | List of all members
claw::const_first< T1, T2 > Class Template Reference

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
 

Detailed Description

template<class T1, class T2>
class claw::const_first< T1, T2 >

Fuction object to get the first element of a std::pair.

Author
Julien Jorge

Definition at line 60 of file functional.hpp.


The documentation for this class was generated from the following file: