Assignment operators
Declared in <util/fs.h>
Assign from a std::filesystem::path.
path&
operator=(std::filesystem::path path);
» more...
Deleted to forbid std::string assignment, which decodes locale-dependently on Windows.
path&
operator=(std::string s) = delete;
» more...
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
operator=(path const& __p);
» more...
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
operator=(path&& __p) noexcept;
» more...
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
operator=(string_type&& __s) noexcept;
» more...
Assign from a C string literal, which is safe as long as the literal is ASCII.
path&
operator=(char const* c);
» more...
template<class _Source>
[[__visibility__, __exclude_from_explicit_instantiation__, __abi_tag__]]
path&
operator=(_Source const& __src);
» more...
A reference to this object.
| Name | Description |
|---|---|
| path | The standard path to move from. |
| s | The string that would be assigned from. |
| c | The null-terminated string to assign from. |