Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-08-30 13:12:29


Gary Powell wrote:

>> Name pollution is a serious problem with non-member functions.
>>
>With the namespace "std" its too bad everyone wants to be visible in one
>namespace. It would break things again but I'd prefer the sub libraries
to
>have nested namespaces like "std::stl", "std::math", "std::string" etc.
Oh
>well.

The initial proposal for standard library namespaces had nested namespaces,
with the header name == nested namespace name.

Nested library namespaces were later removed as adding complexity without
enough offsetting benefits. Code became harder to read, for example.

--Beman


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