I have this code: private static $dates = array( 'start' => mktime( 0, 0, 0, 7, 30, 2009), // Start date 'end' => mktime( 0, 0, 0, 8, 2,...
I want to have a static const char array in my class. GCC complained and told me I should use constexpr, although now it’s telling me it’s an undefined...
What is the best way to initialize a private, static data member in C++? I tried this in my header file, but it gives me weird linker errors: class...