Public Member Functions
utilmm::select_2nd< Pair > Struct Template Reference

Second pair attribute access. More...

#include <utils.hh>

List of all members.

Public Member Functions

Pair::second_type const & operator() (Pair const &p) const
 call operator

Detailed Description

template<class Pair>
struct utilmm::select_2nd< Pair >

Second pair attribute access.

This functor gives a const access to the second attribute of a std::pair

Pairthe complete type of the std::pair we want to pass as argument
Frédéric Py <>
See also:

Definition at line 74 of file utils.hh.

Member Function Documentation

template<class Pair >
Pair::second_type const& utilmm::select_2nd< Pair >::operator() ( Pair const &  p) const [inline]

call operator

pThe pair
A const reference to p.second

Definition at line 81 of file utils.hh.

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

Author(s): Sylvain Joyeux/
autogenerated on Thu Jan 2 2014 11:38:31