Could someone shed some light on how to find the code snippets related to the implementation of the "new" operator?
孙世龙 sunshilong
sunshilong369@gmail.com
Wed Aug 5 06:47:42 GMT 2020
Hi, list
I hope to study the implementation of the "new" operator.
But I could not find it in the related git(i.e.
https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3).
For LLVM, I can easily get the answer: there is a file named new.cpp
(https://github.com/llvm/llvm-project/blob/master/libcxx/src/new.cpp).
For libstdc++, I don't know where I am wrong. There is no such file.
I have googled it for a long time, but I am still confused.
I would be grateful to have some help with this matter.
Thank you for your attention to this matter.
Sunshilong
More information about the Libstdc++
mailing list