# std::filesystem::file_status::operator=

> C++ Atlas: `cppatlas.com/w/cpp/filesystem/file_status/operator=` | Source: https://en.cppreference.com/w/cpp/filesystem/file_status/operator= | Domain: Filesystem | Standards: C++17

Copy- or move-assigns another file status object.

## Official Specification Summary (cppreference)

```cpp
file_status& operator=( const file_status& other ) noexcept = default; // (1) (since C++17)
file_status& operator=( file_status&& other ) noexcept = default; // (2) (since C++17)
```

Copy- or move-assigns another file status object.

### Parameters

- `other` - another file_status object to assign

### Return value

`*this`

### Example

> Note: This section is incomplete Reason: no example

---
Attribution: content from https://en.cppreference.com/w/cpp/filesystem/file_status/operator= (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.