Namespaces
Variants
Views
Actions

Talk:cpp/thread/shared future/get

From cppreference.com

In the text:

Return value:

1) The value v stored in the shared state, as std::move(v).


Isn't the "std::move(v)" wrong for "shared_future" ? For "shared_future" the value should not be moved ?

You're right, it was a copy paste error from std::future. Thanks for mentioning. --Cubbi (talk) 21:23, 26 September 2013 (PDT)