Neste código:
// build string requiring a bunch of processing
std::wstring xmlstr=xml->GetXml();
{
std::lock_guard<std::mutex> guard(my_mutex);
m_deque.push_back(std::move(xmlstr)); // << note the std::move
}
É mais eficiente usar std::move
neste caso para reduzir a produção de cópias?