Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-31 05:49:01


From: "Aleksey Gurtovoy" <alexy_at_[hidden]>
> > IOW why is it important to keep the boost directory clean but
> > this doesn't apply to the boost namespace?
>
> It does, only the criteria for putting something into namespace are (in
> general) different from criteria of putting a physical unit that contains
> that "something" into a subdirectory; while the empirical rule "namespace
> nesting should match directory nesting" is important for keeping logical
and
> physical structures of code in sync, it's by no means the only rule. There
> are satiations when going further in the classification of physical units
is
> important because it allows you to expose, well, the classification
(intent)
> without imposing a bureaucratic overhead of such classification on the
users
> of the "logical side".

This is a good general argument, but let's get back to specifics, shall we?
You want to force every shared_ptr user to type

#include <boost/memory/shared_ptr.hpp>

instead of

#include <boost/shared_ptr.hpp>

What problem are you trying to solve, and is your proposed "solution" worth
it?


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