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() {
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);
You can’t perform that action at this time.
0 commit comments