claw::const_second< T1, T2 > Class Template Reference
#include <functional.hpp>
List of all members.
Detailed Description
template<class T1, class T2>
class claw::const_second< T1, T2 >
Fuction object to get the
second element of a std::pair.
- Author:
- Julien Jorge
Definition at line 119 of file functional.hpp.
|
Public Member Functions |
const T2 & | operator() (const std::pair< T1, T2 > &p) const |
Member Function Documentation
template<class T1, class T2>
const T2& claw::const_second< T1, T2 >::operator() |
( |
const std::pair< T1, T2 > & |
p |
) |
const [inline] |
Definition at line 123 of file functional.hpp.
00124 {
00125 return p.second;
00126 }
The documentation for this class was generated from the following file: