Skip to content

Commit d92507c

Browse files
committed
the
Comment: #86133 (comment)
1 parent bdfe173 commit d92507c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.nttp.pass.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
148148

149149
// Call to `not_fn<NTTP>` unspecified-type's operator() should always result in call to const& overload of .
150150
{
151-
{ // Make sure unspecified-type is still callable when we delete & overload.
151+
{ // Make sure unspecified-type is still callable when we delete the & overload.
152152
struct X {
153153
FakeBool operator()() & = delete;
154154
FakeBool operator()() const&;
@@ -163,7 +163,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
163163
static_assert(std::invocable<const F>);
164164
}
165165

166-
{ // Make sure unspecified-type is not callable when we delete const& overload.
166+
{ // Make sure unspecified-type is not callable when we delete the const& overload.
167167
struct X {
168168
FakeBool operator()() &;
169169
FakeBool operator()() const& = delete;
@@ -178,7 +178,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
178178
static_assert(!std::invocable<const F>);
179179
}
180180

181-
{ // Make sure unspecified-type is still callable when we delete && overload.
181+
{ // Make sure unspecified-type is still callable when we delete the && overload.
182182
struct X {
183183
FakeBool operator()() &;
184184
FakeBool operator()() const&;
@@ -193,7 +193,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
193193
static_assert(std::invocable<const F>);
194194
}
195195

196-
{ // Make sure unspecified-type is still callable when we delete const&& overload.
196+
{ // Make sure unspecified-type is still callable when we delete the const&& overload.
197197
struct X {
198198
FakeBool operator()() &;
199199
FakeBool operator()() const&;

0 commit comments

Comments
 (0)