名前空間
変種
操作

std::experimental::filesystem::directory_entry::operator==,!=,<,<=,>,>=

From cppreference.com
 
 
 
 
bool operator==( const directory_entry& rhs ) const;
(1) (filesystem TS)
bool operator!=( const directory_entry& rhs ) const;
(2) (filesystem TS)
bool operator<( const directory_entry& rhs ) const;
(3) (filesystem TS)
bool operator<=( const directory_entry& rhs ) const;
(4) (filesystem TS)
bool operator>( const directory_entry& rhs ) const;
(5) (filesystem TS)
bool operator>=( const directory_entry& rhs ) const;
(6) (filesystem TS)

パスをディレクトリエントリ rhs と比較します。

目次

[edit] パラメータ

rhs - 比較対象の directory_entry

[edit] 戻り値

1) true は、path() == rhs.path() の場合。false はそれ以外の場合。
2) true は、path() != rhs.path() の場合。false はそれ以外の場合。
3) true は、path() < rhs.path() の場合。false はそれ以外の場合。
4) true は、path() <= rhs.path() の場合。false はそれ以外の場合。
5) true は、path() > rhs.path() の場合。false はそれ以外の場合。
6) true は、path() >= rhs.path() の場合。false はそれ以外の場合。

[edit] 例外

noexcept 指定:  
noexcept
  

[edit] 関連項目

エントリが参照するパスを返します
(public member function) [edit]
English 日本語 中文(简体) 中文(繁體)