File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcxx/test/std/utilities/function.objects/func.not_fn Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ constexpr void test_perfect_forwarding_call_wrapper() {
154
154
assert (static_cast <const F&&>(f)() == -2 );
155
155
}
156
156
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 .
158
158
{
159
159
{ // Make sure unspecified-type is still callable when we delete the & overload.
160
160
struct X {
@@ -261,7 +261,7 @@ constexpr void test_return_type() {
261
261
assert (!copied (32 ));
262
262
}
263
263
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.
265
265
using F = decltype (std::not_fn<[](int x) { return !x; }>());
266
266
static_assert (!std::is_invocable<F>::value);
267
267
static_assert (std::is_invocable<F, int >::value);
You can’t perform that action at this time.
0 commit comments