From: Simon Hammett (div0_at_[hidden])
Date: 2008-03-03 08:59:21
On 03/03/2008, John Maddock <john_at_[hidden]> wrote:
> Simon Hammett wrote:
> > vc 7.1 and above offers __declspec(selectany)
> > This used by Atl to ensure only one Atl module gets created I believe.
> > Not used it myself though...
> According to the docs this just creates the object in a COMDAT section -
> that will merge multiple instances in one module, but not across modules as
> far as I know?
Yup. Just had a quick play and it's useless as far as dlls go. :(
I knew there was a reason I stick with static libs...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk