What are the main differences between malloc provided by libc and std::malloc?

Florian Weimer fw@deneb.enyo.de
Wed Aug 12 07:55:30 GMT 2020


* 孙世龙 sunshilong via Libc-help:

> What are the main differences between malloc provided by libc and
> std::malloc?

Where do you get std:malloc?  If it's from GCC's libstdc++, there are
no differents.  It's the same function.


More information about the Libc-help mailing list