Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++11 status.

1424.multimap constructor accepting an allocator as a single parameter should be explicit

Section: 23.4.4[multimap]Status:C++11Submitter: JapanOpened: 2010-08-25Last modified: 2016-01-28

Priority:Not Prioritized

View all issues withC++11 status.

Discussion:

Addresses JP-7

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 T, class Compare =less<Key>,class Allocator = allocator<pair<const Key, T> > >class multimap {public:...explicit multimap(const Allocator&);

[8]ページ先頭

©2009-2026 Movatter.jp