Could someone shed some light on how to find the code snippets related to the implementation of the "new" operator?

Janson R. mlists.aerostun@gmail.com
Wed Aug 5 09:13:04 GMT 2020


On 05/08/2020 11:09, 孙世龙 sunshilong via Libstdc++ wrote:
>> In
>> https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3/libsupc%2B%2B
>> you can find several files with "new" in their name.
> Thank you for taking the time to respond to my question.
> I see. I have found it with your generous help.
> 
> One more question, why the implementation is in the folder named
> libsupc++ other
> than src(i.e.  libstdc++-v3/src/)? And what does libsupc++ stand for?
> 
> Thank you.
> Best Regards.
> Sunshilong

That's in the FAQ (where "sup" stands for "language support"): 
https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.what_is_libsupcxx


--
Janson R.


More information about the Libstdc++ mailing list