We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a98ac47 commit fa510f2Copy full SHA for fa510f2
libcxx/include/string
@@ -1212,6 +1212,9 @@ public:
1212
}
1213
# endif // _LIBCPP_CXX03_LANG
1214
1215
+ // TODO(boomanaiden154): Once we mark this in destructors as dead on return,
1216
+ // we can use a normal call to __reset_internal_buffer and remove the extra
1217
+ // __rep constructor.
1218
inline _LIBCPP_CONSTEXPR_SINCE_CXX20 ~basic_string() { __reset_internal_buffer(__rep(__uninitialized_tag())); }
1219
1220
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 operator __self_view() const _NOEXCEPT {
0 commit comments