basic_path::operator= Operator
Assigns a new value to the stored file name.
basic_path& operator=(
const basic_path& Right
);
basic_path& operator=(
basic_path&& Right
);
basic_path& operator=(
const string_type& Str
);
basic_path& operator=(
const value_type *Ptr
);
Parameters
Right
A reference to a basic_path object. The second method takes an rvalue reference.Str
A string of the same type as the stored file name.Ptr
A pointer to an array of characters. The character type is the value_type of the stored file name.
Return Value
*this after the stored file name is replaced.
Requirements
Header: filesystem
Namespace: std::tr2::sys