Код: Выделить всё
#include
#include
#include
using namespace std;
class ex
{
int x;
public:
ex():ex(0){}
ex(int x):x(x)
{
//cout
Подробнее здесь: [url]https://stackoverflow.com/questions/59369568/overloading-the-nothrow-version-of-new-and-delete[/url]