I cannot believe that something that sounds so simple can be so hard.
class OutputHandler {
private:
static std::string const errorPrefixes[] = {"INFO", "WARNING", "ERROR", "CRASH"};
};
How do I do this properly? From various documentations I understand that I cannot initialize Static Member Objects, regardless of them being constant.