回答編集履歴
1
update
test
CHANGED
@@ -7,3 +7,4 @@
|
|
7
7
|
```
|
8
8
|
|
9
9
|
`std::less<>`の仕組みは matukeso さん回答の通りで、同クラス`operator()`がテンプレート化されています。
|
10
|
+
実際の比較処理は [`std::pair`の`operator<`](https://cpprefjp.github.io/reference/utility/pair/op_less.html) が呼び出されます。
|