by kleiba · 5y ago · 0 comments
std::string product;
product = "not worked";
i.e., separate declaration and initialization, as suggested by the grand-parent?https://en.cppreference.com/w/cpp/language/direct_initializa... https://en.cppreference.com/w/cpp/language/move_assignment