Boost logo

Boost :

Subject: Re: [boost] boost versioned namespace ?
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-03-04 07:24:58


----- Original Message -----
From: "Roland Schwarz" <roland.schwarz_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, March 04, 2009 9:04 AM
Subject: [boost] boost versioned namespace ?

>
> I am seeking advice on how I could package some of boosts libraries
> as part of a library I am writing.
>
> Given:
>
> "libboost_1_35" a boost lib at ver. 1_35 which is used by my
> "libmy". I need to be able to ship binary versions of "libmy"
> and "libboost_1_35".
>
> A customer writing an application "app" and using "libmy" and
> "libboost_1_39".
>
> The problem:
> libboost_1_39 and libboost_1_35 likely will have common symbols, which
> either prevents the customer to use 1_39 or forces me to also upgrade
> to 1_39 (altough everything is fine with 1_35).
>
> The questions:
> What would boosters recommend?
> Is there a way to use kind of a versioned boost namespace?

The main question is if your library interfaces use boost or you use boost as an implementation detail?

Vicente


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