Public Types | Public Member Functions

gnash::FirstElement< T > Struct Template Reference

Retrieve the first element of a container with std::pairs. More...

#include <GnashAlgorithm.h>

List of all members.

Public Types

typedef T::first_type result_type

Public Member Functions

const result_typeoperator() (const T &pair) const

Detailed Description

template<typename T>
struct gnash::FirstElement< T >

Retrieve the first element of a container with std::pairs.


Member Typedef Documentation

template<typename T >
typedef T::first_type gnash::FirstElement< T >::result_type

Member Function Documentation

template<typename T >
const result_type& gnash::FirstElement< T >::operator() ( const T &  pair  )  const [inline]

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