[iostreams] Bogus gzip_alloc in gzip_test.cpp
21 Apr
2015
21 Apr
'15
11:25 p.m.
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
3507
Age (days ago)
3507
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephan T. Lavavej