diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-08-28 21:26:01 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-08-28 21:26:01 +0000 |
| commit | 2fc65041beabcb4c970deeb8ece010c10b0b40f9 (patch) | |
| tree | 8cce662354b591f6e8dac297a744ae0721a2d7f7 /libcxx/include/experimental/filesystem | |
| parent | 24b481370ac773231c38f15355a6277943a69911 (diff) | |
| download | bcm5719-llvm-2fc65041beabcb4c970deeb8ece010c10b0b40f9.tar.gz bcm5719-llvm-2fc65041beabcb4c970deeb8ece010c10b0b40f9.zip | |
Implement LWG 2711. Constrain path members.
llvm-svn: 279945
Diffstat (limited to 'libcxx/include/experimental/filesystem')
| -rw-r--r-- | libcxx/include/experimental/filesystem | 3 |
1 files changed, 3 insertions, 0 deletions
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 <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; |

