Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::functional::first Struct Reference

A PolymorphicFunctionObject type that returns the first element of a std::pair. More...

#include <utility.hpp>

Classes

struct  result
 
struct  result< This(Pair &)>
 
struct  result< This(Pair const &)>
 
struct  result< This(Pair)>
 

Public Member Functions

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

Detailed Description

A PolymorphicFunctionObject type that returns the first element of a std::pair.

A PolymorphicFunctionObject type that returns the first element of a std::pair..

Member Function Documentation

template<typename Pair >
Pair::first_type& boost::proto::functional::first::operator() ( Pair &  pair) const
inline
template<typename Pair >
Pair::first_type const& boost::proto::functional::first::operator() ( Pair const &  pair) const
inline

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