Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::functional::unpack_expr< Tag, Domain > Struct Template Reference

A callable function object equivalent to the proto::unpack_expr() function. More...

#include <proto_fwd.hpp>

Classes

struct  result
 
struct  result< This(Sequence)>
 

Public Member Functions

template<typename Sequence >
BOOST_FORCEINLINE
result_of::unpack_expr< Tag,
Domain, Sequence const >
::type const 
operator() (Sequence const &sequence) const
 Construct an expression node with tag type Tag and in the domain Domain. More...
 

Detailed Description

template<typename Tag, typename Domain>
struct boost::proto::functional::unpack_expr< Tag, Domain >

A callable function object equivalent to the proto::unpack_expr() function.

In all cases, functional::unpack_expr<Tag, Domain>()(seq) is equivalent to proto::unpack_expr<Tag, Domain>(seq).

functional::unpack_expr<Tag>()(seq) is equivalent to proto::unpack_expr<Tag>(seq).

Member Function Documentation

template<typename Tag , typename Domain >
template<typename Sequence >
BOOST_FORCEINLINE result_of::unpack_expr<Tag, Domain, Sequence const>::type const boost::proto::functional::unpack_expr< Tag, Domain >::operator() ( Sequence const &  sequence) const
inline

Construct an expression node with tag type Tag and in the domain Domain.

Parameters
sequenceA Fusion Forward Sequence
Returns
proto::unpack_expr<Tag, Domain>(sequence)

References boost::spirit::x3::detail::call(), and boost::detail::const.


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