Merge a bunch of minor Boost.Algorithm changes to release

[SVN r86757]
This commit is contained in:
Marshall Clow committed 2013-11-18 16:52:09 +00:00
1 parent 5988a55b96
commit 685a76f094
5 files changed
+27 -17

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ void iota ( Range &r, T value )
template <typename OutputIterator, typename T>
OutputIterator iota_n ( OutputIterator out, T value, std::size_t n )
{
while ( n-- > 0 )
*out++ = value++;
for ( ; n > 0; --n, ++value )
*out++ = value;
return out;
}