Question Does std::future call wait() or get() on destruction?
Example
void fun()
{
std::future<int> fut = my_thread_pool.submit(some_work);
}//is fut.wait() or fut.get() called? here
Question Does std::future call wait() or get() on destruction?
Example
void fun()
{
std::future<int> fut = my_thread_pool.submit(some_work);
}//is fut.wait() or fut.get() called? here