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:
N3797 20.7.2 [memory.syn] and 20.7.6 [allocator.tag] say:
20.2 [utility] and 20.3.5 [pair.piecewise] say:
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:
The text was updated successfully, but these errors were encountered: