Boost logo

Boost :

Subject: [boost] [iostreams] Bogus gzip_alloc in gzip_test.cpp
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2015-04-21 19:25:01


Hi,

While testing VC 2015 with Boost, we've discovered a bug in Boost.Iostreams' tests. boost_1_58_0\libs\iostreams\test\gzip_test.cpp contains:

struct gzip_alloc : std::allocator<char> { };

This doesn't conform to C++98-17's allocator requirements, because it isn't properly rebindable. (The Standard has always required that rebinding MyAlloc<T> to U and back to T produces MyAlloc<T>.)

Thanks,
STL


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk