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::push_front Struct Reference

push_front is a PolymorphicFunctionObject for pushing an element into the front of a container. More...

#include <regex_actions.hpp>

Public Types

typedef void result_type
 

Public Member Functions

template<typename Sequence , typename Value >
void operator() (Sequence &seq, Value const &val) const
 Equivalent to seq.push_front(val). More...
 

Detailed Description

push_front is a PolymorphicFunctionObject for pushing an element into the front of a container.

Member Typedef Documentation

Member Function Documentation

template<typename Sequence , typename Value >
void boost::xpressive::op::push_front::operator() ( Sequence &  seq,
Value const &  val 
) const
inline

Equivalent to seq.push_front(val).

Parameters
seqThe sequence into which the value should be pushed.
valThe value to push into the sequence.
Returns
void

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