This is the mail archive of the gcc-patches@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] |
Neato! Since I've not yet committed my original patch, how would you like me to change all those xmalloc()+cast's to use these macros instead?
What I want to do is move the macros xnew, xcnew, xnewvec, xcnewvec and maybe xobnew from libcpp/internal.h to include/libiberty.h.
This would bring us one step closer to a natural C++ syntax for object allocation.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |