Share via


operator!= (STL)

Inequality operator that is used with basic_path, basic_directory_iterator, and basic_recursive_directory_iterator objects.

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);

Parameters

  • Left
    The left object.

  • Right
    The right object.

Return Value

!(Left == Right)

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

operator== (STL)

Other Resources

Header Files