operator== (STL)
basic_path、basic_directory_iteratorと basic_recursive_directory_iterator オブジェクトで使用される等値演算子。
template<class String, class Traits>
bool operator==(
const basic_path<String, Traits>& Left,
const basic_path<String, Traits>& Right);
bool operator==(
const basic_directory_iterator<Path>& Left,
const basic_directory_iterator<Path>& Right);
bool operator==(
const basic_recursive_directory_iterator<Path>& Left,
const basic_recursive__directory_iterator<Path>& Right);
パラメーター
Left
左側のオブジェクト。Right
右オブジェクト。
戻り値
一つ目の演算子は Left.string() == Right.string()を返します。
2 番目と 3 番目の演算子は Left と Right の両方が空白でないファイル名を保存したり、Left と Right の両方が空のファイルの名前を格納する true ;を返します それ以外の場合は、メッセージの false演算子。
必要条件
ヘッダー: filesystem
名前空間: std::tr2::sys