Skip to content

Commit e2587ff

Browse files
committed
Finish sentence
Comment: #86133 (comment)
1 parent e045e2e commit e2587ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
154154
assert(static_cast<const F&&>(f)() == -2);
155155
}
156156

157-
// Call to `not_fn<NTTP>` unspecified-type's operator() should always result in call to const& overload of .
157+
// Call to `not_fn<NTTP>` unspecified-type's operator() should always result in call to the const& overload of the underlying function object.
158158
{
159159
{ // Make sure unspecified-type is still callable when we delete the & overload.
160160
struct X {
@@ -261,7 +261,7 @@ constexpr void test_return_type() {
261261
assert(!copied(32));
262262
}
263263

264-
{ // Make sure `not_fn<NTTP>` unspecified type's operator() is SFINAE-friendly.
264+
{ // Make sure `not_fn<NTTP>` unspecified-type's operator() is SFINAE-friendly.
265265
using F = decltype(std::not_fn<[](int x) { return !x; }>());
266266
static_assert(!std::is_invocable<F>::value);
267267
static_assert(std::is_invocable<F, int>::value);

0 commit comments

Comments
 (0)