Код: Выделить всё
struct Test {
int field = 30;
Test() { cout
Подробнее здесь: [url]https://stackoverflow.com/questions/72253869/shouldnt-there-be-a-copy-ctor-invocation-here-elision-disabled-no-named-retur[/url]Код: Выделить всё
struct Test {
int field = 30;
Test() { cout
Подробнее здесь: [url]https://stackoverflow.com/questions/72253869/shouldnt-there-be-a-copy-ctor-invocation-here-elision-disabled-no-named-retur[/url]