|
Boost : |
Subject: Re: [boost] [any] new version
From: Martin Bidlingmaier (Martin.Bidlingmaier_at_[hidden])
Date: 2011-09-01 15:45:08
Ok, so obviously the proposed version won't work when instances of boost::any cross dll borders.
I see only one possible way out without breaking existing code (and still
use the new version, if it is considered superior):
Let the user explicitly declare he wants to use the version with statics by
introducing a new configuration macro, e.g. BOOST_ANY_NO_DLL_CROSSING,
or use an existing macro that does the same thing. If not defined, type_info comparsion would be used.
-- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk