Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
proto_typeof.hpp File Reference

Type registrations so that proto expression templates can be used together with the Boost.Typeof library. More...

#include <boost/config.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/proto/proto_fwd.hpp>
#include <boost/proto/deep_copy.hpp>
#include <BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()>
Include dependency graph for proto_typeof.hpp:
This graph shows which files directly or indirectly include this file:

Macros

#define BOOST_PROTO_AUTO(Var, Expr)   BOOST_AUTO(Var, boost::proto::deep_copy(Expr))
 
#define BOOST_PROTO_AUTO_TPL(Var, Expr)   BOOST_AUTO_TPL(Var, boost::proto::deep_copy(Expr))
 

Detailed Description

Type registrations so that proto expression templates can be used together with the Boost.Typeof library.

Macro Definition Documentation

#define BOOST_PROTO_AUTO (   Var,
  Expr 
)    BOOST_AUTO(Var, boost::proto::deep_copy(Expr))
#define BOOST_PROTO_AUTO_TPL (   Var,
  Expr 
)    BOOST_AUTO_TPL(Var, boost::proto::deep_copy(Expr))