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: patch for ext/debug_allocator.h (second attempt)


>This patch makes the debug_allocator<> compile now. 

testsuite/ext/allocators.cc seemed to work before, but I agree, something's fishy...

> Earlier, the debug_allocator<> had code like this:
>
>size_type n;
>pointer x;
>*x = n;
>
>Which made no sense.

Right.

However, we're trying to stay away from static data members, and ugly
casting. Try this.

-benjamin

Attachment: p.20040203-dhruv.patch
Description: Text document


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