refs #715 Support implicit conversion from CRange to QSet.

This commit is contained in:
Mathew Sutcliffe
2016-07-28 20:45:51 +01:00
parent 08b404906d
commit b449487a71
3 changed files with 94 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ namespace BlackMisc
T to() const
{
T container;
std::copy(begin(), end(), std::back_inserter(container));
std::copy(begin(), end(), Iterators::makeInsertIterator(container));
return container;
}