Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10239: advance_begin, pop_front etc missing
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-04 15:24:03
#10239: advance_begin, pop_front etc missing
---------------------------------------+------------------------
Reporter: Olaf van der Spek <ml@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+------------------------
Comment (by neilgroves):
The procedure for deprecation is applied for public documented parts of
Boost APIs. The functions to which you refer where not part of the public
documented interface. We discussed this here:
http://lists.boost.org/Archives/boost/2013/01/199947.php
I received strong feedback that the pop_front and pop_back names were
highly confusing. David Abrahams proposed changing the names to drop_front
/ drop_back. As I mentioned in my previous discussions I was actively
working on refining good Concepts that would incorporate some of the
valuable work by Alexandrescu.
You will find that the function pop_front simply needs to be renamed to
drop_front and that pop_back needs to be renamed to drop_back. No
functionality has been removed. No public documented features have been
broken to the best of my knowledge and belief. The synopsis for
iterator_range
http://www.boost.org/doc/libs/master/libs/range/doc/html/range/reference/utilities/iterator_range.html
contains the drop_front, and drop_back member functions. The drop_back and
drop_front member functions are therefore new public and official
functions to replace the undocumented pop_front, pop_back, advance_begin.
I added a new unit test and brought the functionality up to the standard
of the other public functions.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10239#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC