Index: libcxx/include/string =================================================================== --- libcxx/include/string +++ libcxx/include/string @@ -1834,6 +1834,7 @@ #endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS template +inline _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY basic_string<_CharT, _Traits, _Allocator>::~basic_string() { #if _LIBCPP_DEBUG_LEVEL >= 2