##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::file_status::type

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | file status

file_type type() const; | (1) | (filesystem TS)
void type( file_type type ); | (2) | (filesystem TS)

Accesses the file type information.

1) Returns file type information.
2) Sets file type to `type`.

### [edit] Parameters

type | - | file type to set to

### [edit] Return value

1) File type information.
2) (none)

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/file_status/type&oldid=91442"
Category:

- unconditionally noexcept

Hidden categories:

- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template