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: Circumventing __USE_MALLOC and templatized containers


>>>>> "Wolfgang" == Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> writes:

> That's my opinion as well. I am led to think that this wholesale
> replacement of one allocator by another is not what was intended.
> In my view, selecting between malloc-based or other allocators should be
> possible either by a mechanism like __USE_MALLOC, or, as I understand the
> ABI concerns that were raised, by a special flag that is set once per
> program execution.

AFAIK, the problem is 'string'.  Every plain function in the rest of the
library that currently refers to string ought to be a template <class
Alloc> instead.

Jason


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