Код: Выделить всё
#include
struct S {
S() = default;
S(S&) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79755636/copy-constructor-is-called-with-result-of-rvalue-conditional-operator[/url]Код: Выделить всё
#include
struct S {
S() = default;
S(S&) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79755636/copy-constructor-is-called-with-result-of-rvalue-conditional-operator[/url]