Created on 2010-10-09.00:00:00 last changed 174 months ago
Proposed resolution:
The wording refers to N3126.
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_map
{
public:
[..]
// bucket interface
size_type bucket_count() const;
size_type max_bucket_count() const;
size_type bucket_size(size_type n) const;
[..]
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:
[..]
// bucket interface
size_type bucket_count() const;
size_type max_bucket_count() const;
size_type bucket_size(size_type n) const;
[..]
namespace std {
template <class Key,
class Hash = hash<Key>,
class Pred = std::equal_to<Key>,
class Alloc = std::allocator<Key> >
class unordered_multiset
{
public:
[..]
// bucket interface
size_type bucket_count() const;
size_type max_bucket_count() const;
size_type bucket_size(size_type n) const;
[..]
[ Adopted at 2010-11 Batavia ]
[ Post-Rapperswil ]
Moved to Tentatively Ready after 5 positive votes on c++std-lib.
While bucket_size() is const for unordered_set, for all other unordered containers it is not defined as constant member function.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
| 2010-11-24 14:01:03 | admin | set | messages: + msg5439 |
| 2010-11-14 13:10:57 | admin | set | status: voting -> wp |
| 2010-11-08 14:14:39 | admin | set | status: ready -> voting |
| 2010-10-21 19:47:27 | admin | set | messages: + msg4884 |
| 2010-10-21 19:47:27 | admin | set | messages: + msg4883 |
| 2010-10-09 00:00:00 | admin | create | |