directory_iterator
, recursive_directory_iterator
, pointer
/reference
typedefs wrongSection: 13 [filesys.ts::class.directory_iterator], 14 [filesys.ts::class.rec.dir.itr] Status: Dup Submitter: Stephan T. Lavavej Opened: 2014-02-03 Last modified: 2016-08-11
Priority: Not Prioritized
View all other issues in [filesys.ts::class.directory_iterator].
View all issues with Dup status.
Discussion:
Addresses: filesys.ts
directory_iterator
and recursive_directory_iterator
are constant iterators, but their
pointer
/reference
typedefs are wrong (std::iterator
defaults to providing modifiable
ones).
[2014-02-08 Daniel comments]
I noticed the same problem when trying to resolve 2652. The currently suggested wording for that issue should fix the here mentioned problem as well.
I recommend to solve this issue as "Resolved by the proposed wording for 2652".[2014-02-13 LWG/SG-3 Issaquah: Daniel's resolution accepted.]
Proposed resolution: