This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
One question about operator new in libstdc++.
- From: Shigang Zan <zanshigang at hotmail dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 15 Oct 2010 09:03:16 +0000
- Subject: One question about operator new in libstdc++.
Hi
My question is does operator new will always call malloc?
When I try to write a tool to monitor malloc/free for memory leak, is it enough? If malloc/free have no problem, can we make sure C++ code also have no problem in memory leak issue?
Thanks