Namespaces
Variants
Views
Actions

Talk:cpp/thread/future error

From cppreference.com

I'm not sure the example is appropriate, as there is no guarantee that get() is not going to crash. The future is invalid and thus it's UB to call get().

updated to say "Possible output" --Cubbi (talk) 19:10, 31 August 2015 (PDT)