Boost logo

Boost :

Subject: [boost] "protected" APIs
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2012-01-02 04:25:49

Hello all,

Boost.Closure (formerly, Boost.Local) needs to use some macros, types,
etc that are currently marked private in Boost.ScopeExit:


So I will move these symbols from AUX/aux to another prefix/namespace.
How shall the new prefix/namespace be named?

These symbols should not go into the public API of ScopeExit because
they should never be used by the end user. These symbols are only
meant to be used by other parts of Boost so they should use some sort
of "protected" prefix/namespace. For example, I could use "detail":
"aux" for ScopeExit private API and "detail" for ScopeExit API that
can be used within Boost but not by general users:


However, other Boost components already use "detail" for their private
API (synonymous of "aux"). So, I could use "protected" instead:


What's the best convention to follow here?

Thanks a lot.

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