Initializing static const std::array with a static function removes const (makes it writable) – Ubuntu
I have a class (struct) that contains a static const std::array private member. I want this member to be static and constant (non-writable). It looks like as if adding the initialization through static function, breaks the constness of the member…