diff options
author | Patrick Palka <ppalka@redhat.com> | 2024-02-01 14:56:02 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2024-02-01 14:56:02 -0500 |
commit | 87d162383ed68c55311a55784f6b40e979945c00 (patch) | |
tree | 4e69e6575ae5ad4f05f58516c3e8c6732baf6731 /libstdc++-v3/testsuite/std/ranges | |
parent | b14209715e659f6d3ca0f9eef9a4851e7bd6e373 (diff) | |
download | gcc-87d162383ed68c55311a55784f6b40e979945c00.zip gcc-87d162383ed68c55311a55784f6b40e979945c00.tar.gz gcc-87d162383ed68c55311a55784f6b40e979945c00.tar.bz2 |
libstdc++/pair: Factor out const-assignability helper for C++20
This is consistent with std::tuple's __const_assignable helper, and will
be useful for implementing the new pair::operator= overloads from P2165R4.
libstdc++-v3/ChangeLog:
* include/bits/stl_pair.h (pair::_S_const_assignable): Define,
factored out from ...
(pair::operator=): ... the constraints of the const overloads.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'libstdc++-v3/testsuite/std/ranges')
0 files changed, 0 insertions, 0 deletions