Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the source code for GNU stdc++ operator new?

Tags:

c++

I tried here: http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html

and I found new.h but not the code to implement it.

Thanks

like image 506
Badmanchild Avatar asked May 12 '11 16:05

Badmanchild


1 Answers

The relevant source code for libstdc++ can be browsed online here. You probably want to read this.

like image 106
Barak Itkin Avatar answered Jan 04 '23 10:01

Barak Itkin