basic_path::assign Method
Uses a specified set of elements to replace the stored file name.
template<class _InIt>
basic_path& assign(
InIt First,
InIt Last
);
Parameters
First
The first element of the new file name.Last
The element immediately after the last element of the file name.
Return Value
*this after the replacement occurs.
Remarks
This method first calls clear to clear the stored file name. Then, the method calls append using the First and Last arguments.
Requirements
Header: filesystem
Namespace: std::tr2::sys