New answers tagged


There is absolutely nothing wrong with putting it in the header. §9.4.2/4 If a static data member is of const integral or const enumeration type, its declaration in the class definition can specify a constant-initializer which shall be an integral constant expression (5.19). In that case, the member can appear in integral constant expressions. The ...

Top 50 recent answers are included