##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

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

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

file_status( const file_status& ) = default; | (1) | (filesystem TS)
file_status( file_status&& ) = default; | (2) | (filesystem TS)
explicit file_status( file_type type = file_type::none, perms permissions = perms::unknown); | (3) | (filesystem TS)

Constructs a new `file_status` object.

1) Default copy constructor.
2) Default move constructor.
3) Initializes the file status object with `type` as type and `permissions` as permissions.

### [edit] Parameters

| This section is incomplete

### [edit] Exceptions

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

- Todo without reason
- unconditionally noexcept

Hidden categories:

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