Код: Выделить всё
#include
#include
#include
using namespace std;
class B
{
public:
B(){
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/19813575/why-default-constructor-of-private-member-is-not-called[/url]Код: Выделить всё
#include
#include
#include
using namespace std;
class B
{
public:
B(){
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/19813575/why-default-constructor-of-private-member-is-not-called[/url]