Namespaces
Variants

operator== (std::filesystem::file_status)

From cppreference.net
friend bool operator == ( const file_status & lhs, const file_status & rhs ) noexcept ;
(C++20부터)

file_status 값이 동일한지 확인합니다. 즉, 이들이 나타내는 타입과 권한이 각각 동일합니다.

이 함수는 일반적인 unqualified 또는 qualified lookup 으로는 보이지 않으며, std::filesystem::file_status가 인자들의 연관 클래스일 때에만 argument-dependent lookup 을 통해서만 찾을 수 있습니다.

!= 연산자는 합성된 연산자로, operator== 로부터 생성됩니다.

매개변수

lhs, rhs - file_status 비교할 값들

반환값

lhs. type ( ) == rhs. type ( ) && lhs. permissions ( ) == rhs. permissions ( )

참고 항목

파일의 유형을 가져오거나 설정합니다
(public member function)
파일의 권한을 가져오거나 설정합니다
(public member function)