testsuite allocators patch

François Dumont frs.dumont@gmail.com
Thu Jun 26 20:45:00 GMT 2014


On 26/06/2014 12:33, Jonathan Wakely wrote:
>
> The _GLIBCXX_USE_NOEXCEPT macro expands to nothing in C++03 mode, so
> you might as well omit it in the #else branch.
>
> OK for trunk if you make the tracker_allocator comment correct.
>
> Thanks!
>
>
Committed with:

   // An allocator facade that intercepts 
allocate/deallocate/construct/destroy
   // calls and track them through the tracker_allocator_counter class. This
   // class is templated on the target object type, but tracker isn't.
   template<typename T, typename Alloc = std::allocator<T> >
     class tracker_allocator : public Alloc

Thanks for feedback.

François



More information about the Libstdc++ mailing list