You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to make a fu2::function with a move-only object, you get an assert_error with the message "Can't wrap a non copyable object into a fu2::function, try using fu2::unique_function instead."
Actual Behavior
You get an error with "Can't wrap a non copyable object into a unique function!", which is super confusing.
@Naios
Commit Hash
e3695b4
Expected Behavior
When trying to make a fu2::function with a move-only object, you get an assert_error with the message "Can't wrap a non copyable object into a fu2::function, try using fu2::unique_function instead."
Actual Behavior
You get an error with "Can't wrap a non copyable object into a unique function!", which is super confusing.
Code at https://github.com/Naios/function2/blob/master/include/function2/function2.hpp#L1262
The text was updated successfully, but these errors were encountered: