From 840e906a4ddbbb32b8a5989e8a0ce10c8c374819 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 2 Mar 2021 17:23:41 -0500 Subject: add upstream 11.7 --- zen/string_traits.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'zen/string_traits.h') diff --git a/zen/string_traits.h b/zen/string_traits.h index d9ce589c..ca40f7d6 100644 --- a/zen/string_traits.h +++ b/zen/string_traits.h @@ -120,19 +120,12 @@ public: }; } -template -struct IsStringLike : std::bool_constant::isStringLike> {}; -template -struct GetCharType { using Type = typename impl::StringTraits::CharType; }; - - -//template alias helpers: template -constexpr bool IsStringLikeV = IsStringLike::value; +constexpr bool IsStringLikeV = impl::StringTraits::isStringLike; template -using GetCharTypeT = typename GetCharType::Type; +using GetCharTypeT = typename impl::StringTraits::CharType; namespace impl -- cgit