Search code examples
Will a static string declaration containing calls to Regex.Replace() and/or String.Format() get opti...


c#declarationcompiler-optimizationstatic-members

Read More
MVC razor syntax for accessing a static model member...


c#asp.net-mvcrazorstatic-members

Read More
Confusion about the linker error regarding static class members...


linker-errorsstatic-memberscompiler-explorer

Read More
Is this a bad use of a static property?...


c#design-patternsdependency-injectionstatic-members

Read More
How to initialize static variables...


phpclassstatic-members

Read More
Is it allowed to repeat the initialization of static members?...


c++g++static-membersclang

Read More
Member variables in ES6 classes...


javascriptclassmemberstatic-membersecmascript-6

Read More
Best way to get a static DateTime value...


c#static-members

Read More
Why are the static members of a class the same for all objects?...


c++classstaticstatic-members

Read More
Can template classes have static members in C++...


c++templatesstatic-members

Read More
How to use the correct instance with static inline member pointer and static member function?...


c++classcallbackc++20static-members

Read More
Java: Overriding static variable of parent class?...


javaoopstaticstatic-members

Read More
C++ Core Guidelines for static member variables...


c++static-membersclang-tidycpp-core-guidelines

Read More
C++ get default value of class member without creating new object...


c++c++11default-valuestatic-members

Read More
Undefined reference to static class member...


c++g++linker-errorsstatic-members

Read More
What is the idiomatic way to implement caching on a function that is not a struct method?...


cachingruststatic-members

Read More
How to initialize static members in the header...


c++classstatic-members

Read More
How to have static data members in a header-only library?...


c++static-membersheader-only

Read More
How to initialize private static data members in a header file...


c++initializationheader-filesstatic-members

Read More
How can you define a static data member of a class template?...


c++templatesstaticstatic-membersclass-template

Read More
How can you define a static data member of type const std::string?...


c++stringclassconstantsstatic-members

Read More
Where should a static const data member be defined?...


c++staticinitializationconstantsstatic-members

Read More
In header files, what is the difference between a static global variable and a static data member?...


c++scopeglobal-variablesheader-filesstatic-members

Read More
Is the initialization order of global variables and static inline data members relative to each othe...


c++c++17language-lawyerstatic-membersinitialization-order

Read More
Should constant strings be static data members, or should they be in an unnamed namespace?...


c++stringnamespacesstatic-membersunnamed-namespace

Read More
Should I use a private static member function, or free function in an unnamed namespace?...


c++functionnamespacesstatic-membersunnamed-namespace

Read More
Why can you not declare an inline static data member of a nested class type?...


c++staticc++17static-membersinline-variable

Read More
Should I use std::string or const char* for string constants?...


c++constantsstatic-membersstdstring

Read More
How can you decrement a static data member from inside a const member function?...


c++static-membersfunction-qualifier

Read More
Why is it not possible to declare a constexpr non-static data member?...


c++c++11clangconstexprstatic-members

Read More
BackNext