如何operator<在n元组上定义(例如在3元组上)以便它满足严格的弱排序概念?我知道boost库有正确定义的元组类,operator<但由于某些原因我无法使用它.
operator<
c++ strict-weak-ordering
c++ ×1
strict-weak-ordering ×1