|
|
The following anachronisms are accepted when anachronisms are enabled via the -Xo option. Using them is discouraged unless they occur in existing code that is difficult to change.
int f(int); int f(x) char x; { return x; }It will be noted that in C this is code is legal but has a different meaning: a tentative declaration of f is followed by its definition.
class A { public: A(int); A operator=(A&); A operator+(const A&); }; void f() { A b(1); b = A(1) + A(2); // allowed }