summaryrefslogtreecommitdiff
path: root/zen/string_traits.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-07-22 11:37:03 -0400
committerB Stack <bgstack15@gmail.com>2020-07-22 11:37:03 -0400
commitc95b3937fef3e2c63768f1b3b1dc2c898f23d91d (patch)
tree10260e25ae905564f7978b83fc4e316670f987c6 /zen/string_traits.h
parentMerge branch '10.25' into 'master' (diff)
downloadFreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.tar.gz
FreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.tar.bz2
FreeFileSync-c95b3937fef3e2c63768f1b3b1dc2c898f23d91d.zip
add upstream 11.0
Diffstat (limited to 'zen/string_traits.h')
-rw-r--r--zen/string_traits.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/zen/string_traits.h b/zen/string_traits.h
index 69d76b44..76d601b3 100644
--- a/zen/string_traits.h
+++ b/zen/string_traits.h
@@ -99,11 +99,7 @@ ZEN_INIT_DETECT_MEMBER(length) //
template <class S>
class StringTraits
{
-#if __cpp_lib_remove_cvref
using CleanType = std::remove_cvref_t<S>;
-#else
- using CleanType = std::remove_cv_t<std::remove_reference_t<S>>;
-#endif
using NonArrayType = std::remove_extent_t <CleanType>;
using NonPtrType = std::remove_pointer_t<NonArrayType>;
using UndecoratedType = std::remove_cv_t <NonPtrType>; //handle "const char* const"
bgstack15