Subject: [Boost-bugs] [Boost C++ Libraries] #13537: serializable unordered_map has incorrect template signature
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-24 22:23:10
#13537: serializable unordered_map has incorrect template signature
-----------------------------------------+---------------------------
Reporter: David Hawkes <daveh@â¦> | Owner: Robert Ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.67.0 | Severity: Problem
Keywords: unordered_map serialization |
-----------------------------------------+---------------------------
In boost/serialization/unordered_map.hpp the template signature looks like
this:
{{{
template<
class Archive,
class Key,
class HashFcn,
class EqualKey,
class Allocator
>
}}}
Whereas it should be:
{{{
template<
class Archive,
class Key,
class Type,
class HashFcn,
class EqualKey,
class Allocator
>
}}}
The consequence is that if a custom allocator is specified then the
serialization will cause compiler errors due to there being insufficient
template parameters.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13537> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-04-24 22:30:29 UTC