Boost logo

Boost :

From: Bart (bartmann.nsd_at_[hidden])
Date: 2005-07-27 17:39:26


On Wed, 27 Jul 2005 00:59:50 -0700, Stephan T. Lavavej wrote:

> Hi,
>
> I have noted the following about Boost 1.32.0.
>

...

> 3. boost/date_time/time_duration.hpp contains shadowing on line 53. The
> constructor takes 'hours', 'minutes', and 'seconds', which are named
> identically to member functions.
>
> 4. boost/date_time/time_system_counted.hpp contains shadowing on line 34.
> The constructor takes 'tod', which is named identically to a member
> function.
>
> Shadowing makes using Boost with GCC -Wshadow difficult, and these cases are
> very easy to fix.
>

Shadowing is already on the todo list, and has boon for some time. Other
projects have pushed it to the back burner.

Since this should be an easy fix, I'm hopeful we'll get to it soon.

Thanks for the reminder,
Bart


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk