mo********@yahoo.com wrote:
What operators cannot be virtual and why?
Operators 'new' and 'delete' and 'new[]' and 'delete[]', because they
are essentially "static" (although not declared as such).
I looked at FAQ and found
nothing.
That's because it's not a Frequently Asked Question.
I think there are operators that cannot be virtual, but I don't know
why?
I believe you can think that because you suspect that you might not know
everything there is to know about C++. Quite understandable. I am the
same way, although not about overloaded operators.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask