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::throw_< Except > Struct Template Reference

throw_<> is a PolymorphicFunctionObject for throwing an exception. More...

#include <xpressive_fwd.hpp>

Public Types

typedef void result_type
 

Public Member Functions

void operator() () const
 
template<typename A0 >
void operator() (A0 const &a0) const
 
template<typename A0 , typename A1 >
void operator() (A0 const &a0, A1 const &a1) const
 
template<typename A0 , typename A1 , typename A2 >
void operator() (A0 const &a0, A1 const &a1, A2 const &a2) const
 

Detailed Description

template<typename Except>
struct boost::xpressive::op::throw_< Except >

throw_<> is a PolymorphicFunctionObject for throwing an exception.

Template Parameters
ExceptThe type of the object to throw.

Member Typedef Documentation

template<typename Except >
typedef void boost::xpressive::op::throw_< Except >::result_type

Member Function Documentation

template<typename Except >
void boost::xpressive::op::throw_< Except >::operator() ( ) const
inline

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

References BOOST_THROW_EXCEPTION.

template<typename Except >
template<typename A0 >
void boost::xpressive::op::throw_< Except >::operator() ( 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.

References BOOST_THROW_EXCEPTION.

template<typename Except >
template<typename A0 , typename A1 >
void boost::xpressive::op::throw_< Except >::operator() ( 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.

References BOOST_THROW_EXCEPTION.

template<typename Except >
template<typename A0 , typename A1 , typename A2 >
void boost::xpressive::op::throw_< Except >::operator() ( A0 const &  a0,
A1 const &  a1,
A2 const &  a2 
) const
inline
Parameters
a0The first argument to the constructor
a1The second argument to the constructor
a2The third argument to the constructor
Exceptions
<tt>Except(a0,a1,...)</tt>
Note
This function makes use of the BOOST_THROW_EXCEPTION macro to actually throw the exception. See the documentation for the Boost.Exception library.

References BOOST_THROW_EXCEPTION.


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