Why is this not compiling? (RValue as thread CTOR arguments)

前端 未结 1 1260
谎友^
谎友^ 2020-12-21 22:37

Hello here is a test code I wrote on MSVC12.

Could someone tell me why the std::move when I pass parameters to the thread are not converting the variabes to RValue r

相关标签:
1条回答
  • 2020-12-21 22:54

    Well, this problem was reported for VC11 http://connect.microsoft.com/VisualStudio/feedback/details/737812 and seems MS didn't address in VC12.

    0 讨论(0)
提交回复
热议问题