Код: Выделить всё
#include
using namespace std;
class base {
public:
base() { cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79454707/destructor-and-constructor-call-of-pointer-of-type-base-class-pointing-to-object[/url]
Код: Выделить всё
#include
using namespace std;
class base {
public:
base() { cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79454707/destructor-and-constructor-call-of-pointer-of-type-base-class-pointing-to-object[/url]