Before C++17 you needed to define and/or initialise a non-const class member object separately from the class definition, otherwise you got a linker error:
//