mirror of
https://github.com/boostorg/range.git
synced 2025-07-31 21:34:44 +02:00
Add upgrade documentation about pop_front() and pop_back() being renamed.
This commit is contained in:
@@ -15,6 +15,9 @@ been noted that some calling code was relying on member functions such as
|
|||||||
`size()` being present despite the underlying iterators not being random-access
|
`size()` being present despite the underlying iterators not being random-access
|
||||||
due to `iterator_reference<Iter>::type` not being a reference. The suggested
|
due to `iterator_reference<Iter>::type` not being a reference. The suggested
|
||||||
refactoring is to use `boost::size(rng)`.
|
refactoring is to use `boost::size(rng)`.
|
||||||
|
# The undocumented __iterator_range__ `pop_front()` has been deprecated and is
|
||||||
|
replaced by `drop_front(). Similarly `pop_back()` has been replaced by
|
||||||
|
`drop_back()`.
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user