forked from boostorg/unordered
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:
1 parent
f3803fc071
commit
2cf9d5ac4c
1 file changed
+1
-1
@@ -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