StackOverflow Questions for Tag: static-initialization

李小小
李小小

Reputation: 1

Why does static initialization drastically improve runtime compared to constructor initialization in C++?

Score: -5

Views: 132

Answers: 0

Read More
Lukas Eder
Lukas Eder

Reputation: 220752

How to circumvent the size limit of a static initialiser in Java when initialising large amounts of constants

Score: 6

Views: 1567

Answers: 4

Read More
MysteryMoose
MysteryMoose

Reputation: 2363

Intentionally Disregarding Excess Elements in Initializer Warning Under GCC

Score: 0

Views: 82

Answers: 1

Read More
albert
albert

Reputation: 507

initialization inside of an shared library (.so)

Score: 1

Views: 143

Answers: 1

Read More
albert
albert

Reputation: 507

dynamic initialisation of global statics, races and timing

Score: 0

Views: 59

Answers: 1

Read More
Zebrafish
Zebrafish

Reputation: 13886

Is there any way of finding out if the main() function of your program has been entered yet?

Score: 2

Views: 138

Answers: 2

Read More
Zebrafish
Zebrafish

Reputation: 13886

Does this solve the static initialization order fiasco?

Score: 0

Views: 117

Answers: 1

Read More
Irfan Latif
Irfan Latif

Reputation: 667

Why are there two instances created of a singleton Java class?

Score: 1

Views: 633

Answers: 2

Read More
Agent_L
Agent_L

Reputation: 5411

Why Kotlin sealed class object's initialization order changes?

Score: 1

Views: 48

Answers: 2

Read More
lord_nimon
lord_nimon

Reputation: 274

How to initialize an global array to a struct?

Score: 1

Views: 137

Answers: 3

Read More
itsols
itsols

Reputation: 5582

Pascal - hard-coding data in array - shortcut

Score: 3

Views: 877

Answers: 2

Read More
Eduard Rostomyan
Eduard Rostomyan

Reputation: 6546

Prevent static initialization order "fiasco", C++

Score: 18

Views: 13066

Answers: 5

Read More
GKxx
GKxx

Reputation: 363

Static-storage variable initialized by calling constexpr function with constexpr arguments

Score: 1

Views: 60

Answers: 1

Read More
undermind
undermind

Reputation: 1841

Constexpr constructor for a static variable results in dynamic initialization

Score: 0

Views: 1035

Answers: 2

Read More
Tobias
Tobias

Reputation: 6507

How to prevent the linker from optimizing away startup code?

Score: 3

Views: 1128

Answers: 2

Read More
abenthy
abenthy

Reputation: 904

Initialization of base classes in Java when accessing a static field

Score: 0

Views: 45

Answers: 1

Read More
Robert
Robert

Reputation: 8506

How can I initialize a const member with a pure function?

Score: 0

Views: 81

Answers: 0

Read More
Zoso
Zoso

Reputation: 3465

call_once over local object's static initialization

Score: 0

Views: 287

Answers: 1

Read More
blonded04
blonded04

Reputation: 503

Minimizing Meyers' singleton overhead

Score: 2

Views: 231

Answers: 3

Read More
blonded04
blonded04

Reputation: 503

Is static initialization order fiasco applicable to C?

Score: 6

Views: 432

Answers: 4

Read More
PreviousPage 1Next