std::experimental::filesystem::directory_entry:: assign

From cppreference.com
void assign ( const path & p ) ;
(filesystem TS)

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

Parameters

Return value

(none)

Exceptions

See also

assigns contents
(public member function)