Change a couple of 'template <typename's to 'template <class' which is what we use in the rest of the library.
llvm-svn: 283162
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: f2464a9301ff6109575c5eeda93021241b1fea64
diff --git a/include/string b/include/string
index 110ddf9..3ffe74d 100644
--- a/include/string
+++ b/include/string
@@ -916,7 +916,7 @@
_LIBCPP_INLINE_VISIBILITY
basic_string& append(__self_view __sv) { return append(__sv.data(), __sv.size()); }
basic_string& append(const basic_string& __str, size_type __pos, size_type __n=npos);
- template <typename _Tp>
+ template <class _Tp>
typename enable_if
<
__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
@@ -966,7 +966,7 @@
{*this = _VSTD::move(str); return *this;}
#endif
basic_string& assign(const basic_string& __str, size_type __pos, size_type __n=npos);
- template <typename _Tp>
+ template <class _Tp>
typename enable_if
<
__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
@@ -2261,7 +2261,7 @@
}
template <class _CharT, class _Traits, class _Allocator>
-template <typename _Tp>
+template <class _Tp>
typename enable_if
<
__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,