Boost logo

Boost :

From: Piyo (cybermax_69_at_[hidden])
Date: 2007-05-15 14:44:10

Felipe Magno de Almeida wrote:
> Sorry answering to myself.
> On 5/15/07, Felipe Magno de Almeida <felipe.m.almeida_at_[hidden]> wrote:
>> [snip]
>> Which is desirable for a library developer.
> Sure I meant *un*desirable.
> Best regards,

I agree with Ulrich that the problem is not specific to Boost
but the solutions that we use impact the library in question.
What I guess I am saying is that if Boost were to adopt user-
definable versioned namespaces, it would help a lot. Here is
what we have been doing for other open source libraries:

example: user-config.h
#define SITE_SPECIFIC_NAMESPACE_BEGIN namespace v1_33_1 {

example: boost_foo.h
#include "user-config.h"

namespace boost
    // do you regular stuff here


For people who do not care, SITE_SPECIFIC_NAMESPACE is simply
nothing and it reverts to your unversioned boost. Otherwise,
if we do care and put our versioning in it, we can now
distinguish different interfaces and plus have the compiler
warn us of such mixing.

Thoughts? concerns? Any other alternatives?

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