...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::proto::as_env —
For ensuring that the given argument is a transform environment. If it is not already,
it is made one as if by (proto::data = t)
.
// In header: <boost/proto/transform/env.hpp> template<typename T> typename proto::result_of::as_env<T &>::type as_env(T & t); template<typename T> typename proto::result_of::as_env<T const &>::type as_env(T const & t);