This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++11 status.
unordered_multimap
constructor accepting an allocator as a single parameter should be explicitSection: 23.5.4 [unord.multimap] Status: C++11 Submitter: Japan Opened: 2010-08-25 Last modified: 2016-01-28
Priority: Not Prioritized
View all issues with C++11 status.
Discussion:
Addresses JP-11
Constructor accepting an allocator as a single parameter should be qualified as explicit.
[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]
Proposed resolution:
Add explicit.
namespace std { template <class Key, class T, class Hash = hash<Key>, class Pred = std::equal_to<Key>, class Alloc = std::allocator<std::pair<const Key, T> > > class unordered_multimap { public: ... explicit unordered_multimap(const Allocator&);