pass std::unique_ptr to std::bind
if i pass simple int or string all is okay. but when i pass unique_ptr it moves inside bind object (bind_f) and i can’t call bind_f();
pass std::unique_ptr to std::bind
if i pass simple int or string all is okay. but when i pass unique_ptr it moves inside bind object (bind_f) and i can’t call bind_f();