Skip to content

Commit 8b752b4

Browse files
grammar
1 parent f921550 commit 8b752b4

File tree

1 file changed

+4
-4
lines changed
  • libcxx/test/std/containers/associative/map/map.access

1 file changed

+4
-4
lines changed

libcxx/test/std/containers/associative/map/map.access/at.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ TEST_CONSTEXPR_CXX26 bool test() {
4343
assert(m.at(5) == 5.5);
4444
#ifndef TEST_HAS_NO_EXCEPTIONS
4545

46-
// throwing is not allowed in constexpr
46+
// throwing is not allowed during constant evaluation
4747
# if TEST_STD_VER >= 26
4848
if (!std::is_constant_evaluated()) {
4949
# endif
@@ -81,7 +81,7 @@ TEST_CONSTEXPR_CXX26 bool test() {
8181
assert(m.at(5) == 5.5);
8282
#ifndef TEST_HAS_NO_EXCEPTIONS
8383
# if TEST_STD_VER >= 26
84-
// throwing is not allowed in constexpr
84+
// throwing is not allowed during constant evaluation
8585
if (!std::is_constant_evaluated()) {
8686
# endif
8787
try {
@@ -121,7 +121,7 @@ TEST_CONSTEXPR_CXX26 bool test() {
121121
assert(m.at(5) == 5.5);
122122
# ifndef TEST_HAS_NO_EXCEPTIONS
123123

124-
// throwing is not allowed in constexpr
124+
// throwing is not allowed during constant evaluation
125125
# if TEST_STD_VER >= 26
126126
if (!std::is_constant_evaluated()) {
127127
# endif
@@ -157,7 +157,7 @@ TEST_CONSTEXPR_CXX26 bool test() {
157157
assert(m.at(4) == 4.5);
158158
assert(m.at(5) == 5.5);
159159
# ifndef TEST_HAS_NO_EXCEPTIONS
160-
// throwing is not allowed in constexpr
160+
// throwing is not allowed during constant evaluation
161161
# if TEST_STD_VER >= 26
162162
if (!std::is_constant_evaluated()) {
163163
# endif

0 commit comments

Comments
 (0)