aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-09-26 17:08:39 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-09-26 17:08:39 +0100
commit7a9942f52157987785e964fe602306d477d1885e (patch)
tree66954878a69708cc1f8758998654506c78e89378 /gcc/function.c
parentd5f7e04923c5fe55db12e7da006c41c3853b4ddb (diff)
downloadgcc-7a9942f52157987785e964fe602306d477d1885e.zip
gcc-7a9942f52157987785e964fe602306d477d1885e.tar.gz
gcc-7a9942f52157987785e964fe602306d477d1885e.tar.bz2
Implement C++20 constexpr changes to std::pair (P1032R1)
* include/bits/stl_pair.h (pair): Add _GLIBCXX20_CONSTEXPR to piecewise construction constructor, assignment operators, and swap. * include/std/tuple (pair::pair(piecewise_construct_t, tuple, tuple)): Add _GLIBCXX20_CONSTEXPR. (pair::pair(tuple, tuple, _Index_tuple, _Index_tuple)): Likewise. * testsuite/20_util/pair/constexpr_assign.cc: New test. * testsuite/20_util/pair/constexpr_swap.cc: New test. From-SVN: r276154
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions