https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101214

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:73464a472aa4e86359f1a5dc529394fe5152fec0

commit r12-2356-g73464a472aa4e86359f1a5dc529394fe5152fec0
Author: Patrick Palka <ppa...@redhat.com>
Date:   Fri Jul 16 09:44:32 2021 -0400

    libstdc++: Give split_view::_Sentinel a default ctor [PR101214]

    This gives the new split_view's sentinel type a defaulted default
    constructor, something which was overlooked in r12-1665.  This patch
    also fixes a couple of other issues with the new split_view as reported
    in the PR.

            PR libstdc++/101214

    libstdc++-v3/ChangeLog:

            * include/std/ranges (split_view::split_view): Use std::move.
            (split_view::_Iterator::_Iterator): Remove redundant
            default_initializable constraint.
            (split_view::_Sentinel::_Sentinel): Declare.
            * testsuite/std/ranges/adaptors/split.cc (test02): New test.

Reply via email to