다음을 통해 공유


basic_path::assign 메서드

Uses a specified set of elements to replace the stored file name.

template<class _InIt>
basic_path& assign(
   InIt First,
   InIt Last
);

매개 변수

  • First
    The first element of the new file name.

  • Last
    The element immediately after the last element of the file name.

반환 값

*this after the replacement occurs.

설명

This method first calls clear to clear the stored file name. Then, the method calls append using the First and Last arguments.

요구 사항

헤더: filesystem

Namespace: std::tr2::sys

참고 항목

참조

basic_path 클래스

<filesystem>