Index: libcxx/include/string =================================================================== --- libcxx/include/string +++ libcxx/include/string @@ -2008,6 +2008,7 @@ } template +inline _LIBCPP_INLINE_VISIBILITY void basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz, size_type __reserve) { @@ -2032,6 +2033,7 @@ } template +inline _LIBCPP_INLINE_VISIBILITY void basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz) { @@ -2169,6 +2171,7 @@ #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES template +inline _LIBCPP_INLINE_VISIBILITY void basic_string<_CharT, _Traits, _Allocator>::__init(size_type __n, value_type __c) {