Boost logo

Boost :

Subject: Re: [boost] Fwd: [Thread] Solution to conflict with MFC?
From: Peter (p.schregle_at_[hidden])
Date: 2011-04-28 02:03:59

Am 27.04.2011 18:21, schrieb Anthony Williams:
> I don't see how you could put that in a header without risking multiple
> definition errors --- the header that initialized it would have to be
> included exactly once across the whole project. Failure to include it
> anywhere would mean that the init function would not be linked.

Would __declspec (selectany) be of any help?


Boost list run by bdawes at, gregod at, cpdaniel at, john at