Daily bit(e) of C++ | std::move_only_function
Daily bit(e) of C++ #145, The C++23 move-only variant of std::function: std::move_only_function.
The C++23 std::move_only_function is a move-only version of std::function.
Apart from allowing for non-copyable function objects, the std::move_only_function fully supports invocable semantics and respects const.
Is the reason of not constructable that u use unique ptr in capture???