diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-10-03 23:40:48 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-10-03 23:40:48 +0000 |
commit | f2464a9301ff6109575c5eeda93021241b1fea64 (patch) | |
tree | d4d88f6dd892982af00bf611837163b40d40a257 | |
parent | 53abcbd8a90c88a7dba0c333c2e7068f339c4e13 (diff) | |
download | bcm5719-llvm-f2464a9301ff6109575c5eeda93021241b1fea64.tar.gz bcm5719-llvm-f2464a9301ff6109575c5eeda93021241b1fea64.zip |
Change a couple of 'template <typename's to 'template <class' which is what we use in the rest of the library.
llvm-svn: 283162
-rw-r--r-- | libcxx/include/string | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/string b/libcxx/include/string index 110ddf92cd8..3ffe74d3232 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -916,7 +916,7 @@ public: _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 @@ public: {*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 @@ basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str, siz } 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, |