Defining global constants in C++1z?
What is the best way of declaring memory efficient Global Constants in C++1z which do not make internal linkage , so a single copy is used though out all the translation units ? Although it's been mentioned in many places, we didn't have any singular "The best approach" question and answer, so here it is. Here is a partial list of places where I have found related questions. constexpr global constants in a header file and odr global declarations/initializations using static, const, constexpr Global Constants in C++11 Defining global constant in C++ c++ global constants issue Global Constants