3 ms·
If you don't like pointlessly repeating occurrences of identifiers, you should hardly be favoring C++. class foo { public: foo(); ~foo(); };
by kazinator 8y ago
If you don't like pointlessly repeating occurrences of identifiers, you should hardly be favoring C++.
class foo {
public:
foo();
~foo();
};
foo::foo() { }
foo::~foo() { }
Ad nauseum.
Oh, but C++ can eliminate redundancy in this one cool case I'm thinking of!