This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.

2651. [filesys.ts] [PDTS] directory_iterator, recursive_directory_iterator, pointer/reference typedefs wrong

Section: 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.


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: