[pdal] Boost versioning

Roland Schwarz rschwarz at riegl.co.at
Mon Feb 6 02:23:37 EST 2012


Am 03.02.2012 16:50, schrieb Howard Butler:
> bcp
>
> http://www.boost.org/doc/libs/1_48_0/tools/bcp/doc/html/index.html
>
> On Feb 2, 2012, at 12:16 PM, Michael P. Gerlek wrote:
>
>> What tools do they provide for this?
>>

This is an interesting tool indeed! I am using a similar aproach for 
quite some time now: I wrote a little perl script called renamespace.pl 
which allows me to pinpoint a specific boost version.

However some care has to be taken: One must make sure, that no part of 
the embedded boost version will leak out of the API. This can easily 
happen, e.g. if you expose a shared_ptr through a client visible header 
file.

Altough this problem might be not so severe in an open source project as 
it is when one has to distribute binary only libraries.

Just my 5 cents,
Roland

-- 
Dipl. Ing. Roland Schwarz
Senior Research Assistant
___________________________

mailto:rschwarz at riegl.co.at
http://www.riegl.com
phone:+4329824211
_____________________________________________

RIEGL Laser Measurement Systems GmbH
Riedenburgstraße 48, 3580 Horn, Austria
Registered at Landesgericht Krems, FN 40233 t

________________________________ Disclaimer _______________________________

This email and any files attached  are intended for the  addressee  and may
contain  information of a confidential  nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose,  distribute, print,  copy or make  other use of this email or
its attachments.  In that case please  notify us by return email, and erase
all copies of the message and attachments. Thank you.
RIEGL  reserves the right to monitor  (and examine for viruses)  all emails
and email  attachments, both inbound and outbound. Email communications and
their attachments  may not be secure or error- or  virus- free and the com-
pany does not accept  liability or  responsibility for such  matters or the
consequences thereof.


More information about the pdal mailing list