This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libstdc++] PR libstdc++/64656


On 19 January 2015 at 00:11, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> This patch implements the free functions std::cbegin, std::cend,
> std::rbegin, std::rend, std::crbegin and std::crend, which were
> missing from our C++14 iterator library. I have run the added test
> manually but I haven't finished running the full testsuite yet. I will
> send the patch now anyway, if there are some funny line-number
> changes that need to be done elsewhere in the testsuite, I will
> know in a couple of hours which quantifies to tomorrow morning,
> since I won't stay up for it. ;)
>
> 2015-01-19  Ville Voutilainen  <ville.voutilainen@gmail.com>
>
>     PR libstdc++/64656
>     * include/bits/range_access.h (cbegin, cend, rbegin, rend,
>     crbegin, crend): New.
>     * testsuite/24_iterators/range_access_cpp14.cc: New.

Minor additions:
- add a comment to the #endif for the c++14 #if
- fix the doc comments to talk about reverse iterators

This passes the testsuite.

Attachment: pr64656.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]