std::thread constructor pass by reference when using a class member function
问题 I've done quite a bit of research on the new c++11 rvalue and carried over lvalue. Here is a sample of what I have found and read: what-does-t-double-ampersand-mean-in-c11 how-stdthread-constructor-detects-rvalue-reference stdthread-and-rvalue-reference I have also briefed myself on rvalue references Move_Semantics rvalue_references A Proposal to Add an Rvalue Reference to the C++ Language Specifically, regarding the std::thread constructor, I found how-to-create-a-thread-inside-a-class