Skip to content

The deduction guides for unordered_map and unordered_multimap use an exposition-only helper that does not exist #1769

@villevoutilainen

Description

@villevoutilainen

This is a simple typo fix from iter_value_t to iter_val_t.

In [unord.map.overview], edit as follows:

template<class InputIterator,
class Hash = hash<iter_key_t>,
class Pred = equal_to<iter_key_t>,
class Allocator = allocator<iter_to_alloc_t>>
unordered_map(InputIterator, InputIterator, typename see below
::size_type = see below ,
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
-> unordered_map<iter_key_t,
iter_value_t, Hash, Pred,
Allocator>;

In [unord.multimap.overview], edit as follows:

template<class InputIterator,
class Hash = hash<iter_key_t>,
class Pred = equal_to<iter_key_t>,
class Allocator = allocator<iter_to_alloc_t>>
unordered_multimap(InputIterator, InputIterator,
typename see below ::size_type = see below ,
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
-> unordered_multimap<iter_key_t,
iter_value_t, Hash, Pred,
Allocator>;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions