Is passing by reference to thread here bad practice?

后端 未结 0 1452
北海茫月
北海茫月 2020-12-30 20:09

This is the code listening from one C++ book.

void edit_document(std::string const& filename)
{
    open_document_and_display_gui(filename);
    while(!do         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题