Boost logo

Boost :

Subject: Re: [boost] bcp update #2: namespace renaming
From: John Maddock (john_at_[hidden])
Date: 2009-12-29 04:59:06


> That is great news, one of the most missing features.
>
> Several questions:
>
> a) Does it rename macros as well? I mean if I have a library
> with defined BOOST_ASIO_ENABLE_FOO_BAR would it be renamed
> to NEWNAME_ASIO_ENABLE_FOO_BAR ?

No not at present. That's whay I said you can't #include two different
Boost versions in the same TU.

That's something I might look at later.

> b) Doest it updates BJam files as well.

Yes, library names get adjusted.

> c) How do you deal with various test files?

Like any other source file - if they're copied then the namespace get
renamed.

> d) Have you tryed to run some regrssion tests?

Yes, the Trunk test results are the same after the rename.

Cheers, John.


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