he is why you should initialise static data members in> a .cpp file (and only in one .cpp file).Initialization accompanies definition of a constant except in the case when a declaration of a static constant in a class supplies the initializer, in which case the definition (if any, and then outside the class) is sans initializer.Example: struct S { static int const x = 42; // Not a definition, per