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

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

https://gcc.gnu.org/g:d67ba1dce9796bff177e52e2bbb68bfa2c69a884

commit r12-6572-gd67ba1dce9796bff177e52e2bbb68bfa2c69a884
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Jan 12 16:58:18 2022 +0000

    libstdc++: Use std::construct_at in std::common_iterator [PR103992]

    This should have been done as part of the LWG 3574 changes.

    libstdc++-v3/ChangeLog:

            PR libstdc++/103992
            * include/bits/stl_iterator.h (common_iterator): Use
            std::construct_at instead of placement new.
            * testsuite/24_iterators/common_iterator/1.cc: Check copy
            construction is usable in constant expressions.

Reply via email to