Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost 1.54.0 Header Warnings: Shadowed Variables
From: Tom Browder (tom.browder_at_[hidden])
Date: 2013-11-13 13:32:03


On Wed, Nov 13, 2013 at 10:58 AM, Niall Douglas
<s_sourceforge_at_[hidden]> wrote:
...
> I personally deliberately and intentionally shadow both variable and
> type names in non-public namespaces where doing so significantly
> eases my maintenance costs.

I can't address how shadowing eases your maintenance costs (but I
would be interested to hear how).

> None of this pollutes any public namespace - I therefore see no

Well, Niall, I disagree. Your headers are very much in the user's
space and any problems are also the user's problems.

Best regards,

-Tom


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net