 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lighter Guest
|
Posted: Wed Aug 09, 2006 4:33 pm Post subject: The C++ Standard Doesn't Permit Overloading new and delete? |
|
|
The C++ Standard Doesn't Permit Overloading new and delete?
In the 13.5 of The C++ standard (ISO/IEC 14882, 1998), I cannot find
the specification on overloading the operators new and delete; however,
many C++ books including "C++ Primer" say that the operators new and
delete can be overloaded. I wonder if this has a definitive
specification? Who can tell me?
Many thanks to those who answer.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ] |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Aug 10, 2006 6:13 am Post subject: Re: The C++ Standard Doesn't Permit Overloading new and dele |
|
|
Lighter wrote:
| Quote: | The C++ Standard Doesn't Permit Overloading new and delete?
In the 13.5 of The C++ standard (ISO/IEC 14882, 1998), I cannot find
the specification on overloading the operators new and delete; however,
many C++ books including "C++ Primer" say that the operators new and
delete can be overloaded. I wonder if this has a definitive
specification? Who can tell me?
|
Take a look at 13.5p5, and follow up on the cross-reference it makes to
3.7.3.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|