W3cubDocs

/C++

std::filesystem::directory_entry::assign

void assign( const std::filesystem::path& p );
(since C++17)

Assigns new content to the directory entry object. Sets the path to p.

Parameters

Return value

(none).

Exceptions

Example

See also

assigns contents
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/directory_entry/assign