Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyClass {
- public:
- //MyClass(int x, int y, int z) : x_(x), y_(y), z_(z) {}
- MyClass(int x, int y, int z) {
- x_ = x;
- y_ = y;
- z_ = z;
- }
- int x_;
- int y_;
- int z_;
- int foo() { return 22; }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement