Public Member Functions

get_first Struct Reference

Functor to get the first element of a pair. Use with STL functions like transform(). More...

#include <stl_utils.h>

List of all members.

Public Member Functions

template<typename P >
P::first_type operator() (const P &pair)

Detailed Description

Functor to get the first element of a pair. Use with STL functions like transform().

Definition at line 15 of file stl_utils.h.


Member Function Documentation

P::first_type operator() ( const P &  pair ) [inline]

Definition at line 17 of file stl_utils.h.


The documentation for this struct was generated from the following file:
Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Mon Dec 20 2010 using Doxygen 1.7.2