Код: Выделить всё
#include
using namespace std;
struct A {
A() { cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/79369440/make-user-constructor-behave-like-aggregate-initialization[/url]
Код: Выделить всё
#include
using namespace std;
struct A {
A() { cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/79369440/make-user-constructor-behave-like-aggregate-initialization[/url]