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) { @@ -2244,6 +2247,7 @@ template template +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_exactly_input_iterator<_InputIterator>::value, @@ -2271,6 +2275,7 @@ template template +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_forward_iterator<_ForwardIterator>::value,