Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template construct

boost::xpressive::op::construct — construct<> is a PolymorphicFunctionObject for constructing a new object.

Synopsis

// In header: <boost/xpressive/regex_actions.hpp>

template<typename T> 
struct construct {
  // types
  typedef  ;

  // public member functions
   () ;
  template<typename A0>  () ;
  template<typename A0, typename A1> 
     (, ) ;
  template<typename A0, typename A1, typename A2> 
     (, , ) ;
};

Description

Template Parameters

  1. typename T

    The type of the object to construct.

construct public member functions

  1.  () ;
    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  2. template<typename A0>  ( a0) ;
    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  3. template<typename A0, typename A1> 
       ( a0,  a1) ;
    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  4. template<typename A0, typename A1, typename A2> 
       ( a0,  a1,  a2) ;

    Parameters:

    a0

    The first argument to the constructor

    a1

    The second argument to the constructor

    a2

    The third argument to the constructor

    Returns:

    T(a0,a1,...)


PrevUpHomeNext