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::make_expr< Tag, Domain > Struct Template Reference

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

#include <proto_fwd.hpp>

Classes

struct  impl
 INTERNAL ONLY. More...
 
struct  result
 
struct  result< This(A0)>
 

Public Member Functions

template<typename A0 >
BOOST_FORCEINLINE
result_of::make_expr< Tag,
Domain, A0 const >::type
const 
operator() (A0 const &a0) 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::make_expr< Tag, Domain >

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

In all cases, functional::make_expr<Tag, Domain>()(a0, ... aN) is equivalent to proto::make_expr<Tag, Domain>(a0, ... aN).

functional::make_expr<Tag>()(a0, ... aN) is equivalent to proto::make_expr<Tag>(a0, ... aN).

Member Function Documentation

template<typename Tag , typename Domain >
template<typename A0 >
BOOST_FORCEINLINE result_of::make_expr< Tag , Domain , A0 const >::type const boost::proto::functional::make_expr< Tag, Domain >::operator() ( A0 const &  a0) const
inline

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

Returns
proto::make_expr<Tag, Domain>(a0,...aN)

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