[Bug libstdc++/56170] Extension debug_allocator seems non-compliant w.r.t. rebind

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 24 22:42:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56170

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-24 22:42:09 UTC ---
Fixed on trunk by the commit below, which makes debug_allocator a conforming
C++03 and C++11 allocator which can wrap any C++03 or C++11 allocator.


Author: redi
Date: Sun Mar 24 22:10:29 2013
New Revision: 197023

URL: http://gcc.gnu.org/viewcvs?rev=197023&root=gcc&view=rev
Log:
    PR libstdc++/56170
    * include/ext/debug_allocator.h (debug_allocator): Add missing members
    to meet allocator requirements.
    * testsuite/ext/debug_allocator/56170.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/ext/debug_allocator/56170.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/debug_allocator.h



More information about the Gcc-bugs mailing list