Prior to C++11, the ‘one-definition rule’ would have been broken by in-class member initialization of non-static and non-const variables. Why?
So, prior to C++11, in-class member initialization of non-const and non-static variables was not allowed.
So, prior to C++11, in-class member initialization of non-const and non-static variables was not allowed.