Muster
 All Classes Namespaces Files Functions Variables Typedefs Macros
get_first Struct Reference

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

#include <stl_utils.h>

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 Thu Sep 1 2016 using Doxygen 1.8.5