Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Saf::Algo::Selector::SecondMember< PairClass > Struct Template Reference

Select the second member of a pair or triplet container. More...

#include <Selector.h>

Inheritance diagram for Saf::Algo::Selector::SecondMember< PairClass >:
Saf::Algo::UnaryFunction< PairClass, PairClass::SecondMemberType >

List of all members.

Public Member Functions

PairClass::SecondMemberType & operator() (PairClass &pr) const
 Get the first member from a mutable pair.
const PairClass::SecondMemberType & operator() (const PairClass &pr) const
 Get the first member from an immutable pair.

Detailed Description

template<class PairClass>
struct Saf::Algo::Selector::SecondMember< PairClass >

Select the second member of a pair or triplet container.

See also:
Saf::Collection::Pair, Saf::Collection::Triplet.

Member Function Documentation

template<class PairClass >
PairClass::SecondMemberType& Saf::Algo::Selector::SecondMember< PairClass >::operator() ( PairClass &  pr) const [inline]

Get the first member from a mutable pair.

template<class PairClass >
const PairClass::SecondMemberType& Saf::Algo::Selector::SecondMember< PairClass >::operator() ( const PairClass &  pr) const [inline]

Get the first member from an immutable pair.


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