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

insert is a PolymorphicFunctionObject for inserting a value or a sequence of values into a sequence container, an associative container, or a string. More...

#include <regex_actions.hpp>

Classes

struct  detail
 INTERNAL ONLY. More...
 
struct  result
 

Public Member Functions

template<typename Cont , typename A0 >
result< insert(Cont &, A0
const &)>::type 
operator() (Cont &cont, A0 const &a0) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename Cont , typename A0 , typename A1 >
result< insert(Cont &, A0
const &, A1 const &)>::type 
operator() (Cont &cont, A0 const &a0, A1 const &a1) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename Cont , typename A0 , typename A1 , typename A2 >
result< insert(Cont &, A0
const &, A1 const &, A2 const &)>
::type 
operator() (Cont &cont, A0 const &a0, A1 const &a1, A2 const &a2) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename Cont , typename A0 , typename A1 , typename A2 , typename A3 >
result< insert(Cont &, A0
const &, A1 const &, A2 const
&, A3 const &)>::type 
operator() (Cont &cont, A0 const &a0, A1 const &a1, A2 const &a2, A3 const &a3) const
 

Detailed Description

insert is a PolymorphicFunctionObject for inserting a value or a sequence of values into a sequence container, an associative container, or a string.

Member Function Documentation

template<typename Cont , typename A0 >
result<insert(Cont &, A0 const &)>::type boost::xpressive::op::insert::operator() ( Cont &  cont,
A0 const &  a0 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<typename Cont , typename A0 , typename A1 >
result<insert(Cont &, A0 const &, A1 const &)>::type boost::xpressive::op::insert::operator() ( Cont &  cont,
A0 const &  a0,
A1 const &  a1 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<typename Cont , typename A0 , typename A1 , typename A2 >
result<insert(Cont &, A0 const &, A1 const &, A2 const &)>::type boost::xpressive::op::insert::operator() ( Cont &  cont,
A0 const &  a0,
A1 const &  a1,
A2 const &  a2 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<typename Cont , typename A0 , typename A1 , typename A2 , typename A3 >
result<insert(Cont &, A0 const &, A1 const &, A2 const &, A3 const &)>::type boost::xpressive::op::insert::operator() ( Cont &  cont,
A0 const &  a0,
A1 const &  a1,
A2 const &  a2,
A3 const &  a3 
) const
inline
Parameters
contThe container into which to insert the element(s)
a0A value, iterator, or count
a1A value, iterator, string, count, or character
a2A value, iterator, or count
a3A count
Returns
  • For the form insert()(cont, a0), return cont.insert(a0).
  • For the form insert()(cont, a0, a1), return cont.insert(a0, a1).
  • For the form insert()(cont, a0, a1, a2), return cont.insert(a0, a1, a2).
  • For the form insert()(cont, a0, a1, a2, a3), return cont.insert(a0, a1, a2, a3).

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