Daniel James e03a8732a6 Use static_cast for allocator_traits::construct
std::allocator::construct uses a C-style cast to void pointer, so it can
accept const pointers, but allocator_traits::construct uses a static_cast
by default, so const pointers don't work. This means the implementation
needs to cast away const when constructing members of a std::pair. This
wouldn't happen if piecewise construction was used, as the members could
be constructed normally.
2016-10-17 07:54:06 +01:00
2016-10-14 09:29:38 +01:00
2013-05-22 21:48:29 +00:00
2014-06-16 22:43:54 +01:00
2014-01-26 13:44:38 +00:00
Description
Mirrored via gitea-mirror
BSL-1.0 28 MiB
Languages
C++ 98.6%
Python 0.8%
CMake 0.5%