Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template env_var

boost::proto::functional::env_var — A unary PolymorphicFunctionObject used for fetching the value associated with a particular key in a transform environment.

Synopsis

// In header: <boost/proto/transform/env.hpp>

template<typename Key> 
struct env_var :  proto::callable {
  // member classes/structs/unions
  template<typename Sig> 
  struct result {
    // types
    typedef  ;
  };

  // public member functions
  template<typename Env>  () ;
};

Description

env_var public member functions

  1. template<typename Env>  ( e) ;

    This function behaves as follows:

    See proto::env::operator[] for additional information.


PrevUpHomeNext