Subject: Re: [boost] Fwd: [Thread] Solution to conflict with MFC?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-04-29 04:19:28
> Would __declspec (selectany) be of any help?
"A global data item can normally be initialized only once in an EXE or
DLL project. selectany can be used in initializing global data defined
by headers, when the same header appears in more than one source file.
selectany is available in both the C and C++ compilers."
I guess this could be exactly what we need.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk