This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++11 status.
set constructor accepting an allocator as a single parameter should be explicitSection: 23.4.6[set]Status:C++11Submitter: JapanOpened: 2010-08-25Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [set].
View all issues withC++11 status.
Discussion:
Addresses JP-8
Constructor accepting an allocator as a single parametershould 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 Compare = less<Key>,class Allocator = allocator<Key> >class set {public:...explicit set(const Allocator&);