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

first is a PolymorphicFunctionObject for fetching the first element of a pair. More...

#include <regex_actions.hpp>

Classes

struct  result
 
struct  result< This(Pair)>
 

Public Member Functions

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

Detailed Description

first is a PolymorphicFunctionObject for fetching the first element of a pair.

Member Function Documentation

template<typename Pair >
Pair::first_type boost::xpressive::op::first::operator() ( Pair const &  p) const
inline
Parameters
pThe pair from which to fetch the first element.
Returns
p.first

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