Код: Выделить всё
#include
#include
#include
bool thread_func(const std::string& str) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79580536/passing-a-const-reference-variable-using-stdcref[/url]Код: Выделить всё
#include
#include
#include
bool thread_func(const std::string& str) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79580536/passing-a-const-reference-variable-using-stdcref[/url]