libmoost
moost::which< N > Struct Template Reference

#include <which.hpp>

List of all members.

Classes

struct  comparer
 the comparer More...
struct  iterator_accessor
class  value_comparer
 the value_comparer More...

Public Types

typedef which< 3-N > other_type

Public Member Functions

template<typename Pair >
detail::which_helper< Pair, N >
::type & 
operator() (Pair &el) const
 get the element
template<typename Pair >
detail::which_helper< Pair, N >
::type const & 
operator() (Pair const &el) const
 get a const

Static Public Member Functions

template<typename Cont >
static
which_back_inserter_iterator
< Cont, N > 
back_inserter (Cont &container)
template<typename Cont , typename Iterator >
static which_inserter_iterator
< Cont, N > 
inserter (Cont &container, Iterator where)

Detailed Description

template<int N>
struct moost::which< N >

Definition at line 122 of file which.hpp.


Member Typedef Documentation

template<int N>
typedef which<3-N> moost::which< N >::other_type

Definition at line 124 of file which.hpp.


Member Function Documentation

template<int N>
template<typename Cont >
static which_back_inserter_iterator<Cont, N> moost::which< N >::back_inserter ( Cont &  container) [inline, static]

Definition at line 192 of file which.hpp.

template<int N>
template<typename Cont , typename Iterator >
static which_inserter_iterator<Cont, N> moost::which< N >::inserter ( Cont &  container,
Iterator  where 
) [inline, static]

Definition at line 198 of file which.hpp.

template<int N>
template<typename Pair >
detail::which_helper<Pair, N>::type& moost::which< N >::operator() ( Pair &  el) const [inline]

get the element

Definition at line 128 of file which.hpp.

template<int N>
template<typename Pair >
detail::which_helper<Pair, N>::type const& moost::which< N >::operator() ( Pair const &  el) const [inline]

get a const

Definition at line 135 of file which.hpp.


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