$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-23 15:11:32
> > What about orthogonality?
>
> VERY good point!
>
> But I'm not sure if a plain string is right, tough.
>
> If you want to check if the external variable is there, and only then get
> it, you'll need two calls to the enviroment:
>
> if ( exist_in_environment["http_proxy"] )
> foo ( environment["http_proxy"] ) ;
>
> AFAICT, this can be solved in 3 ways:
[...]
I might be missing something but why shouldn't 'environment' be a std::map
(actually it wouldn't be a std::map but offer the same interface)?