r241654 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Oct 28 17:47:00 GMT 2016


Author: redi
Date: Fri Oct 28 17:47:57 2016
New Revision: 241654

URL: https://gcc.gnu.org/viewcvs?rev=241654&root=gcc&view=rev
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/experimental/bits/fs_path.h
    trunk/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc



More information about the Libstdc++-cvs mailing list