[libcxx] r283162 - Change a couple of 'template <typename's to 'template <class' which is what we use in the rest of the library.
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 3 16:40:48 PDT 2016
Author: marshall
Date: Mon Oct 3 18:40:48 2016
New Revision: 283162
URL: http://llvm.org/viewvc/llvm-project?rev=283162&view=rev
Log:
Change a couple of 'template <typename's to 'template <class' which is what we use in the rest of the library.
Modified:
libcxx/trunk/include/string
Modified: libcxx/trunk/include/string
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?rev=283162&r1=283161&r2=283162&view=diff
==============================================================================
--- libcxx/trunk/include/string (original)
+++ libcxx/trunk/include/string Mon Oct 3 18:40:48 2016
@@ -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
}
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,
More information about the cfe-commits
mailing list