
12 Oct
2009
12 Oct
'09
7 p.m.
AMDG Jean-Louis Leroy wrote:
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`. Why not even put *everything* there and copy selected names in the public namespace by means of using-declarations.
private functions should never be in the same namespace as public classes, because ADL can pick them up.
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?
In Christ, Steven Watanabe