Код: Выделить всё
#include
struct non_auto
{
non_auto()=default;
private:
non_auto(const non_auto&)
{std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78530993/fno-elide-constructors-not-working-in-gcc[/url]Код: Выделить всё
#include
struct non_auto
{
non_auto()=default;
private:
non_auto(const non_auto&)
{std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78530993/fno-elide-constructors-not-working-in-gcc[/url]