다음을 통해 공유


basic_path::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
);

매개 변수

  • Right
    basic_path 개체에 대한 참조입니다. 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.

반환 값

*this after the stored file name is replaced.

요구 사항

헤더: filesystem

네임스페이스: std::tr2::sys

참고 항목

참조

basic_path 클래스

<filesystem>