This question was asked to me in an interview:
What is a static constructor?
Does it exist in C++? If yes, please explain it wit
May be they mean this:
class Cat { private: Cat(); public: static Cat getCat() {return Cat(); } }