|
Boost : |
Subject: Re: [boost] Environment Variables Library?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-05-19 02:38:13
On Tue, May 19, 2015 at 2:27 AM, Gavin Lambert <gavinl_at_[hidden]> wrote:
> On 19/05/2015 09:23, Michael Ainsworth wrote:
>>
>> Such a library would be reasonable small, but do you think it would
>> be a useful addition to Boost? I'm still shaking my head that
>> environment variables aren't better supported by standard C++.
>
> They're more popular in POSIX; but at least on Windows, environment
> variables are considered old-fashioned and discouraged from use without
> significant compelling reason.
Is there a reference for such a discouragement? Sure, most
Windows-only programs just use registry but I wouldn't say environment
variables are discouraged from being used. For instance, most
development software, including MSVC, use environment for
configuration, and registry is not seen as a replacement.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk