Boost logo

Boost :

Subject: Re: [boost] Deciding what to put in `namespace detail`
From: John Maddock (john_at_[hidden])
Date: 2009-10-13 05:51:26

> For my future Boost.RDB submission, I feel tempted to put everything
> except the names that are in the public (documented) interface in a
> nested `namespace detail`.

Nod: ideally only public documented interfaces should be in the top level

> Why not even put *everything* there and copy
> selected names in the public namespace by means of using-declarations.

Note that this can break ADL and/or user-specialisations of documented
interfaces. Of course if you don't want those happenning...

HTH, John.

> Has it been already done ? And what about having three namespaces : a
> "public" one for the user, a "protected" one for those extending the
> lib, and a "private" one for undocumented internals?
> Opinions and advise welcome...
> J-L
> _______________________________________________
> Unsubscribe & other changes:


No virus found in this incoming message.
Checked by AVG -
Version: 8.5.421 / Virus Database: 270.14.11/2430 - Release Date: 10/12/09

Boost list run by bdawes at, gregod at, cpdaniel at, john at