boost::text::lexicographical_compare_three_way
// In header: <boost/text/algorithm.hpp> template<typename Iter1, typename Sentinel1, typename Iter2, typename Sentinel2> int lexicographical_compare_three_way(Iter1 first1, Sentinel1 last1, Iter2 first2, Sentinel2 last2);