Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyClass{
- MyClass();
- MyClass(int);
- MyClass(int, int);
- private:
- void foo();
- }
- MyClass::MyClass(){
- foo(); //repetitive
- }
- MyClass::MyClass(int a){
- foo(); //repetitive
- }
- MyClass::MyClass(int a, int b){
- foo(); //repetitive
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement