Sujet : Re: Pre-main construction order in modules
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.c++Date : 30. Mar 2025, 19:17:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsc1r1$23fpb$1@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla Thunderbird
Am 30.03.2025 um 20:11 schrieb Mr Flibble:
No what I meant was the Meyers Singleton which involves static local
variables NOT static member variables which is what YOU thought it meant.
static local variables need double-checked locked initialization.
That's rather slow to just get a reference.