diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-05-06 15:28:55 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-05-06 16:07:10 +0100 |
commit | 07dd185755a791ab19e6a63274cf2cb69f087a6c (patch) | |
tree | 9f9206b3cfa439e4b7e04d279bf93400715a7450 /libcpp/lex.c | |
parent | 717d278af93a4ab04ff30267888fc14fe0221799 (diff) | |
download | gcc-07dd185755a791ab19e6a63274cf2cb69f087a6c.zip gcc-07dd185755a791ab19e6a63274cf2cb69f087a6c.tar.gz gcc-07dd185755a791ab19e6a63274cf2cb69f087a6c.tar.bz2 |
libstdc++: Improve static assert messages
The message used for static assertions should be phrased so that it's
unambiguous whether the condition should be true or false. The message
should definitely not state the negative condition.
libstdc++-v3/ChangeLog:
* include/bits/stl_algobase.h (__copy_move, __copy_move_backward):
Improve static_assert messages.
* testsuite/25_algorithms/copy/58982.cc: Adjust expected output.
* testsuite/25_algorithms/copy_n/58982.cc: Likewise.
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions