Код: Выделить всё
struct X
{
X() = default;
X(const X& src)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78564546/c-if-i-do-not-declare-move-constructor-the-copy-one-is-called-but-if-i-dele[/url]
Код: Выделить всё
struct X
{
X() = default;
X(const X& src)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78564546/c-if-i-do-not-declare-move-constructor-the-copy-one-is-called-but-if-i-dele[/url]