Код: Выделить всё
#include
struct Person {
Person() { std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79370191/why-is-the-destructor-called-twice-here[/url]
Код: Выделить всё
#include
struct Person {
Person() { std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79370191/why-is-the-destructor-called-twice-here[/url]