Do you have to copy over static data in a copy construcutor?

If I have a static singleton pointer in my class do I have to provide my own copy constructor to handle the copying or will the compilers version work?

I know that the golden rule is to provide the 3 things needed for non-encapsulated data but I am confused as to whether the static nature changes that.
Last edited on
There's no need to copy static data because all instances of that class share the same static data.
Even if it's a pointer?
Yes.
Topic archived. No new replies allowed.