如何实现一个 lower_bound 的自定义比较函数,功能如下。
lower_bound
当 xxx 大于 yyy 时,有以下情况:
kkk 会变,但已知。
xxx,yyy 均为结构体变量。
即
struct node { ... } node x, y;