Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-04-19 23:38:50


on 4/19/00 10:11 AM, Gary Powell at Gary.Powell_at_[hidden] wrote:

> This library also violates the standard rules about adding things
> to the namespace std. VTL adds new versions of swap to the std
> namespace so that callers to std::swap using a view will get our
> version and not the std version. It's the best of a lot of worse
> choices.
>
> In addition, it violates the rules about forward declarations of
> container classes. (They are prohibited) These declarations are all
> in one file, stl_traits.h, so if your compiler has problems with them
> you can either include the correct files or fix it. The reasoning is
> that by forward declaring the containers we can reduce the compile
> time by elimination of unnecessary parsing. All we are interested in
> is some trait information about the containers.

I don't find these to be worth inducing undefined behavior for, and I would
avoid using this library for that reason. I doubt such a library will find
much acceptance in this forum.

Regretfully,
Dave


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