std::thread Why object is copied twice?

前端 未结 3 2139
时光说笑
时光说笑 2020-12-03 16:16

Why in the example code below, object is copied twice? According documentation constructor of thread class copies all arguments to thread-local storage so we have reason for

3条回答
提交回复
热议问题