3 ms·
> have to declare constructors anyway At least these days we have class-level initializers to lessen the pain a bit and reduce the number of situations in whic
by quotemstr 9y ago
> have to declare constructors anyway
At least these days we have class-level initializers to lessen the pain a bit and reduce the number of situations in which you have to write a constructor.
struct foo {
int bar = 5;
};