StackOverflow Questions for Tag: static-order-fiasco

Dean DeRosa
Dean DeRosa

Reputation: 61

Why is it forbidden to initialize a thread-local variable with a static constructor?

Score: 0

Views: 25

Answers: 0

Read More
Vittorio Romeo
Vittorio Romeo

Reputation: 93254

Is accessing a global `static` variable from a single TU guaranteed to be safe?

Score: 3

Views: 143

Answers: 1

Read More
noCPPie
noCPPie

Reputation: 1

Does static initialization order fiasco apply to global variables without static?

Score: 0

Views: 104

Answers: 0

Read More
Eduard Rostomyan
Eduard Rostomyan

Reputation: 6546

Prevent static initialization order "fiasco", C++

Score: 18

Views: 13066

Answers: 5

Read More

Does the static initialization order fiasco happens with C++20 modules?

Score: 3

Views: 326

Answers: 2

Read More
jww
jww

Reputation: 102205

Randomize Make goals for a target

Score: 0

Views: 328

Answers: 2

Read More
Arnab De
Arnab De

Reputation: 462

Question regarding Static Initialization Order Fiasco

Score: 1

Views: 109

Answers: 1

Read More
mada
mada

Reputation: 1975

How does C++ Nifty Counter idiom guarantee both static initialization and static deinitialization

Score: 2

Views: 430

Answers: 2

Read More
mada
mada

Reputation: 1975

Question About Static Initialization Fiasco (Confusion in isocpp FAQ)

Score: 0

Views: 110

Answers: 0

Read More
marmistrz
marmistrz

Reputation: 6384

Static order initialization fiasco, iostream and C++11

Score: 7

Views: 740

Answers: 1

Read More
BhanuKiran
BhanuKiran

Reputation: 3131

Do we have a static initialisation order fiasco while initialising variables inside the class

Score: 0

Views: 431

Answers: 1

Read More
Daniel Langr
Daniel Langr

Reputation: 23497

Order of initialization of static member of explicitly instantiated template and another static variable

Score: 1

Views: 165

Answers: 1

Read More
A1987dM
A1987dM

Reputation: 11

Weird issue with external constants in constructor of template classes

Score: 1

Views: 67

Answers: 0

Read More
Amir Kirsh
Amir Kirsh

Reputation: 13752

Can C++20 `constinit` waive the need for nifty counter idiom?

Score: 4

Views: 236

Answers: 1

Read More
user3819404
user3819404

Reputation: 621

Calling a function of another translation unit can cause static initialization order fiasco

Score: 2

Views: 195

Answers: 1

Read More
Fred Larson
Fred Larson

Reputation: 62053

Finding C++ static initialization order problems

Score: 71

Views: 66468

Answers: 12

Read More
hberndt
hberndt

Reputation: 433

Initialization order guarantees for inline-initialized static const class member

Score: 1

Views: 841

Answers: 1

Read More
O. Shekriladze
O. Shekriladze

Reputation: 1536

Does static initialization fiasco occurs only in c++?

Score: -3

Views: 92

Answers: 1

Read More
Oktalist
Oktalist

Reputation: 14714

Order of initialization and destruction of block-scope static vs. namespace-scope thread_local in main thread

Score: 7

Views: 591

Answers: 1

Read More
jww
jww

Reputation: 102205

Compile multiple source files in an Autoconf test

Score: 3

Views: 178

Answers: 1

Read More
PreviousPage 1Next