mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Add extra value_type() construction in range-based iterator insertion so implicitly convertible types are supported, i.e. test::proxy
This commit is contained in:
@ -189,7 +189,7 @@ namespace boost {
|
||||
void insert(InputIterator first, InputIterator last)
|
||||
{
|
||||
for (auto pos = first; pos != last; ++pos) {
|
||||
table_.insert(*pos);
|
||||
table_.insert(value_type(*pos));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user