Share via


directory_entry::operator< Operator

Specifies whether the stored path object is less than a specified path object.

bool operator<(
   const directory_entry& Right
) const;

Parameters

  • Right
    A directory_entry object that stores a path object.

Return Value

true if the file name of the stored path object is less than the file name of the specified path object; otherwise, false.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

directory_entry Class

<filesystem>