Typos in insert_iterator?
eigenwhat opened this issue · comments
Spotted a few things when trying to use range algorithms with a std::map. I'm guessing they're just copy/paste errors from being based off back_insert_iterator
? ;)
This should be using insert
and not push_back
:
NanoRange/include/nanorange/iterator/insert_iterator.hpp
Lines 34 to 39 in bf32251
Missing the iterator argument and constructing the wrong type:
NanoRange/include/nanorange/iterator/insert_iterator.hpp
Lines 51 to 54 in bf32251
Ooops, yes, definite typos here, thanks for the notification