Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function as_env

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).

Synopsis

// 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);

Description

See also:


PrevUpHomeNext