When declaring
class A {
int someMethod(int a, int b) const;
};
in a header file, typing
int A::someMethod(
leads to suggestion of
int a, int b) { ... }
so that after confirming the suggestion, the implementation reads
int A::someMethod(int a, int b) {
}
Note the missing "const" after the closing paren. This code won't compile.
"Add implementation" from the new refactoring functions does not feature this problem, but has other drawbacks.
VAX 1532, but I remember the 1400 series also having this problem.