Share via


operator< (STL)

Indicates whether the stored string value of one basic_path object is less than that of another basic_path object.

template<class String, class Traits>
   bool operator<(const basic_path<String, Traits>& Left,
         const basic_path<String, Traits>& Right);

Parameters

  • Left
    The left basic_path object.

  • Right
    The right basic_path object.

Return Value

Left.string() < Right.string()

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

basic_path::string Method

Other Resources

Header Files