claw 1.9.0
 
Loading...
Searching...
No Matches
claw::second< T1, T2 > Class Template Reference

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

#include <functional.hpp>

Public Types

using argument_type = std::pair<T1, T2>&
 
using result_type = T2&
 

Public Member Functions

T2 & operator() (std::pair< T1, T2 > &p) const
 

Detailed Description

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

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

Author
Julien Jorge

Definition at line 105 of file functional.hpp.

Member Typedef Documentation

◆ argument_type

template<class T1, class T2>
using claw::second< T1, T2 >::argument_type = std::pair<T1, T2>&

Definition at line 108 of file functional.hpp.

◆ result_type

template<class T1, class T2>
using claw::second< T1, T2 >::result_type = T2&

Definition at line 109 of file functional.hpp.

Member Function Documentation

◆ operator()()

template<class T1, class T2>
T2 & claw::second< T1, T2 >::operator() ( std::pair< T1, T2 > & p) const
inline

Definition at line 112 of file functional.hpp.


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