We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730b4e7 commit 50d4023Copy full SHA for 50d4023
libcxx/test/std/utilities/function.objects/func.bind.partial/bind_back.verify.cpp
@@ -25,8 +25,9 @@ void test() {
25
static_assert(f1() == 1); // expected-error {{static assertion expression is not an integral constant expression}}
26
}
27
28
- { // Various failures
29
- auto d = std::bind_back(do_nothing, 2); // expected-error {{no matching function for call to 'bind_back'}}
+ { // Test calling `bind_back` with template function
+ auto f1 = std::bind_back(do_nothing, 2);
30
+ // expected-error@-1 {{no matching function for call to 'bind_back'}}
31
32
33
{ // Mandates: is_constructible_v<decay_t<F>, F>
0 commit comments