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:
Christian Mazakas
2022-10-05 14:56:49 -07:00
parent f3803fc071
commit 2cf9d5ac4c

View File

@ -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));
}
}