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

Click here to view the latest version of this page.
PrevUpHomeNext

Struct template has_env_var

boost::proto::functional::has_env_var — A unary boolean PolymorphicFunctionObject used for determining whether a particular transform environment has a value associated with a particular key.

Synopsis

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

template<typename Key> 
struct has_env_var :  proto::callable {
  // member classes/structs/unions
  template<typename Sig> 
  struct result {
    // types
    typedef see-below type;
  };

  // public member functions
  template<typename Env> see-below operator()(Env const &) const;
};

Description

has_env_var public member functions

  1. template<typename Env> see-below operator()(Env const & e) const;

    This function behaves as follows:


PrevUpHomeNext