2 ms·
It may be ad-hoc (although I would argue that "0" in this case is really just a token that's a part of syntax - basically a numerical keyword - so expecting a c
by int_19h 8y ago
It may be ad-hoc (although I would argue that "0" in this case is really just a token that's a part of syntax - basically a numerical keyword - so expecting a constant expression is too much). But, in any case, the main point is that it never changed - it was always wrong to use =NULL to denote abstract virtual methods, and there were always implementations that broke that. So it's a strange example of the lack of stability in C++.