basic_directory_entry::operator< Operator

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

bool operator<(
   const basic_directory_entry& Right
) const;

Parameters

  • Right
    A basic_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

basic_directory_entry Class

<filesystem>