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