|
|
|
|
|
by mort96
289 days ago
|
|
It's not like it's the only part of the language that mandates a default constructor though. There are plenty of situations where default-constructible types are desirable. Even simple things like having a non-default-constructible type in a map is awkward. |
|
It’s… not a part of the langage which mandates a default ctor in the first place.