Class++ | Classes and OOP made easy and powerful with Access Specifiers, function overloading and more!

You can make a instance variable on top of the class decleration, and when constructor is called, you can check if this instance variable has already been set.

1 Like