diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-28 17:47:57 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-10-28 17:47:57 +0000 |
commit | 40ca1ec6a282ff6397091aca13486362a8218592 (patch) | |
tree | bf189b03e79aee28cb2dda0d3e4961483ad9930d /gcc/go | |
parent | d24c40791c9fa820fde38c3617eb19095ce78156 (diff) | |
download | gcc-40ca1ec6a282ff6397091aca13486362a8218592.tar.gz |
Fix filesystem::path for iterators with const value_type
* include/experimental/bits/fs_path.h
(path::_S_convert<_Iter>(_Iter, _Iter)): Remove cv-qualifiers from
iterator's value_type.
(path::_S_convert<_Iter>(_Iter __first, __null_terminated)): Likewise.
Do not use operation not supported by input iterators.
(path::__is_path_iter_src): Add partial specialization for const
encoded character types.
* testsuite/experimental/filesystem/path/construct/range.cc: Test
construction from input iterators with const value types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions