bool operator<(const std::string & rhs)
オーバーライドされた演算子を使用する場合、文字列は辞書式に比較されますか? 例:
std::string str1 = "aabbcc"
std::string str2 = "bbaacc"
(str1 < str2) == std::lexicographical_compare(str1.begin(),str1.end(),str2.begin(),str2.end()) // is this statement true?