[fs.dir.itr.nonmembers]

# 31 Input/output library [[input.output]](./#input.output)

## 31.12 File systems [[filesystems]](filesystems#fs.dir.itr.nonmembers)

### 31.12.11 Class directory_iterator [[fs.class.directory.iterator]](fs.class.directory.iterator#fs.dir.itr.nonmembers)

#### 31.12.11.3 Non-member functions [fs.dir.itr.nonmembers]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L16749)

These functions enable range access for directory_iterator[.](#1.sentence-1)

[ð](#lib:begin,directory_iterator)

`directory_iterator begin(directory_iterator iter) noexcept;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L16758)

*Returns*: iter[.](#2.sentence-1)

[ð](#lib:end,directory_iterator)

`directory_iterator end(directory_iterator) noexcept;
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L16769)

*Returns*: directory_iterator()[.](#3.sentence-1)
