mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 12:27:42 +02:00
Update algorithms.qbk
Fixed the spelling of "old-fashioned".
This commit is contained in:
@ -63,7 +63,7 @@ std::vector<int> vec = ...;
|
||||
boost::erase(vec, boost::unique<boost::return_found_end>(boost::sort(vec)));
|
||||
``
|
||||
|
||||
Notice the use of `boost::return_found_end`. What if we wanted to erase all the duplicates except one of them? In old-fashined STL-programming we might write
|
||||
Notice the use of `boost::return_found_end`. What if we wanted to erase all the duplicates except one of them? In old-fashioned STL-programming we might write
|
||||
|
||||
``
|
||||
// assume 'vec' is already sorted
|
||||
|
Reference in New Issue
Block a user