C.20: define a ctor to not imply we're forbidding all ctors

closes #2212
This commit is contained in:
Sergey Zubkov
2024-10-03 16:36:32 -04:00
parent 50afe0234c
commit dd57964801

View File

@@ -4878,6 +4878,7 @@ It's the simplest and gives the cleanest semantics.
struct Named_map {
public:
Named_map() : name("empty") {}
// ... no default operations declared ...
private:
string name;