This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does new operator call malloc() to apply memory ?


On 08/17/2013 02:02 PM, Hatt Tom wrote:
    Does new operator call malloc() to apply memory ?

Yes, on typical systems. But there might be variants of libstdc++ which don't do this.

    Is it successive for the memory rang returnedd allocated by new  ?

No, not in general.

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]