Why can't operator delete be overloaded? 
Author Message
 Why can't operator delete be overloaded?


Quote:

>Just a nit...

>You can override operator delete, but you can't overload it.

In the new C++ standard, you can do both.

Few, if any, compilers fully implement this yet, however.



Fri, 25 Aug 2000 03:00:00 GMT  
 Why can't operator delete be overloaded?


Quote:



>>Just a nit...

>>You can override operator delete, but you can't overload it.

>In the new C++ standard, you can do both.

However, doing this in C may overload your compiler.

[ Credits for this joke go to Seebs, of course. ]



Fri, 25 Aug 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. overloading the new and delete operator

2. Help:overloading delete operator in vc++ 4.0

3. bug when overloading operator delete[] for a class ?

4. Help:overloading delete operator in vc++ 4.0

5. win32 memory management - new and delete operator overloading

6. Global overload of operator delete and STL containers

7. Overloading Operator '='

8. Overloading Operators-Why???

9. Can't overload operator new in VC7.

10. Operator Overloading attempt doesn't quite work...

11. Operator overloading - what's wrong with this?

12. VC++ 5.0 ambiguity: conversion operator vs overloaded operator?

 

 
Powered by phpBB® Forum Software