Deutsch   English   Français   Italiano  
<vsc1r1$23fpb$1@raubtier-asyl.eternal-september.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: Pre-main construction order in modules
Date: Sun, 30 Mar 2025 20:17:23 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <vsc1r1$23fpb$1@raubtier-asyl.eternal-september.org>
References: <vsb12i$2mv42$1@dont-email.me> <vsbl21$1jsvi$1@dont-email.me>
 <vsbo2p$1p5ov$1@dont-email.me> <dTdGP.136957$cgs7.71710@fx14.ams4>
 <vsbqc2$1rk0n$1@dont-email.me> <48eGP.730204$J61.500281@fx08.ams4>
 <vsc0o9$2294v$2@raubtier-asyl.eternal-september.org>
 <5HfGP.241316$i41.190620@fx06.ams4>
 <vsc15c$22qfr$1@raubtier-asyl.eternal-september.org>
 <pLfGP.630914$Kb9a.52361@fx16.ams4>
 <vsc1b1$230rd$1@raubtier-asyl.eternal-september.org>
 <JPfGP.1508894$gHk7.1105564@fx17.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 30 Mar 2025 20:17:05 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="2cd8a133533088b08c4cfe8295267243";
	logging-data="2211627"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/plIxY+73tJvToZHW8R6l42jta/pv0ie0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:H8W3jrFcqk0In6szQrImgr4a4/Q=
Content-Language: de-DE
In-Reply-To: <JPfGP.1508894$gHk7.1105564@fx17.ams4>
Bytes: 1871

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.