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.
bind_front
static_assert(_Fn != nullptr)
1 parent 4f8d61f commit c7a6b18Copy full SHA for c7a6b18
libcxx/include/__functional/bind_front.h
@@ -87,7 +87,7 @@ template <auto _Fn, class... _Args>
87
static_assert((is_move_constructible_v<decay_t<_Args>> && ...),
88
"bind_front requires all decay_t<Args> to be move constructible");
89
if constexpr (using _Ty = decltype(_Fn); is_pointer_v<_Ty> || is_member_pointer_v<_Ty>)
90
- static_assert(_Fn != nullptr, "f cannot be equal to nullptr");
+ static_assert(_Fn != nullptr, "bind_front: f cannot be equal to nullptr");
91
92
if constexpr (sizeof...(_Args) == 0)
93
return __nttp_bind_without_bound_args_t<_Fn>{};
0 commit comments