使用 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 == Right)
要求
标头: 文件系统
命名空间: std::tr2::sys