You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This obeys 8.5 [dcl.init]/7 "If a program calls for the default initialization of an object of a const-qualified type T, T shall be a class type with a user-provided default constructor.", but it's verbose. With C++11 tech, we can do better: