Struct template env
boost::proto::env
Synopsis
template<typename Key, typename Value, typename Env = proto::empty_env>
struct env {
(, = );
() ;
};
Description
env
public
construct/copy/destruct
-
( value, other = );
Parameters: |
other
|
Another key/value store.
|
value
|
The value to be associated with the Key.
|
|
env public member functions
-
() ;
If called with an object that is implicitly convertible to type Key,
this function returns the Value passed to the constructor. Otherwise, it returns
the result of calling operator[] on the Env passed to
the constructor.