Implement LWG 2711. Constrain path members.

llvm-svn: 279945
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 2fc65041beabcb4c970deeb8ece010c10b0b40f9
diff --git a/include/experimental/filesystem b/include/experimental/filesystem
index 7211c6b..fa2face 100644
--- a/include/experimental/filesystem
+++ b/include/experimental/filesystem
@@ -453,6 +453,9 @@
 template <class _Tp> struct __can_convert_char {
   static const bool value = false;
 };
+template <class _Tp> struct __can_convert_char<const _Tp>
+    : public __can_convert_char<_Tp> {
+};
 template <> struct __can_convert_char<char> {
     static const bool value = true;
     using __char_type = char;