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
Being able to construct an object rather than having to copy/move one in would be very useful, particularly for objects that may be expensive to construct, or (for unique_function) immovable objects. (After all, if they're on the heap we can still move the pointer.)
@Naios
Being able to construct an object rather than having to copy/move one in would be very useful, particularly for objects that may be expensive to construct, or (for unique_function) immovable objects. (After all, if they're on the heap we can still move the pointer.)
Commit Hash
7cd9537
Expected Behavior
Being able to type something like
fun.emplace<Foo>(something, something)
Actual Behavior
Needing to type
fun = Foo(something, something)
Steps to Reproduce
N/A
Your Environment
The text was updated successfully, but these errors were encountered: