Boost logo

Boost :

Subject: Re: [boost] boost versioned namespace ?
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2009-03-04 09:02:00

Vicente Botet Escriba wrote:
> You can just replace every occurrence of boost by boost_1_35 (do not forget
> the directory) and do your build. I think that this should work.

I guess you mean: every occurence of boost that is used as a namespace.

E.g. "namespace boost {" becomes "namespace boost_x_yz {"
and boost:: becomes boost_x_yz::.

But boost in strings, comments or boost_whatever should not be changed.

Btw.: do you know of a script (sed or alike) that will do the trick?

(Sidenote: it would be far easier if boost had a macro, say BOOST_NS
that library authors would routinely use for this task.)

  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]

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