From 2fc65041beabcb4c970deeb8ece010c10b0b40f9 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sun, 28 Aug 2016 21:26:01 +0000 Subject: Implement LWG 2711. Constrain path members. llvm-svn: 279945 --- libcxx/include/experimental/filesystem | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcxx/include/experimental/filesystem') diff --git a/libcxx/include/experimental/filesystem b/libcxx/include/experimental/filesystem index 7211c6b1efc..fa2face130f 100644 --- a/libcxx/include/experimental/filesystem +++ b/libcxx/include/experimental/filesystem @@ -453,6 +453,9 @@ class _LIBCPP_TYPE_VIS directory_entry; template struct __can_convert_char { static const bool value = false; }; +template struct __can_convert_char + : public __can_convert_char<_Tp> { +}; template <> struct __can_convert_char { static const bool value = true; using __char_type = char; -- cgit v1.2.3