Why can't I initialize my static data member in my constructor

c++

Solution

static member variables are not associated with each object of the class. It is shared by all objects. If you initialize in ctor then it means that you are trying to associate with a particular instance of class. Since this is not possible, it is not allowed.

Problem

I read the answer in parashift but I need bit details as to why compiler won't allow to define static member variable in constructor.

Original source