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 Newsgroups: comp.lang.c++ Subject: Re: Pre-main construction order in modules Date: Mon, 31 Mar 2025 10:46:57 +0200 Organization: A noiseless patient Spider Lines: 8 Message-ID: References: <48eGP.730204$J61.500281@fx08.ams4> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 31 Mar 2025 10:46:39 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="2df7c839385ef03839737f07d8c91192"; logging-data="4040527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UUlehSNQYbPksxeNUG6urydC2s1V2X10=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ysJ+j3umH7VcOt85fTL9HatHbh0= Content-Language: de-DE In-Reply-To: Bytes: 1634 Am 30.03.2025 um 18:26 schrieb Mr Flibble: > The Meyers Singleton pattern has been around for decades, .. Decades are multiples of a decade, i.e. >= 20 years. But Meyer's singleton is possible since C++11, where static local initializations are thread-safe, that's 14 years ago.