This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: [RFC] Marking C++ new operator as malloc?


On 13 Sep 2007 19:37:27 -0500, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
> Do you believe that allocator is prohibited by the C++ standard?

Yes just because it points to another object at that point.

Now people do these tricks, I know but I guess most of them don't
understand C++ that much to know they are invoking undefined behavior.

-- Pinski


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