Help me understand this usage of boost::bind

前端 未结 2 1580
梦毁少年i
梦毁少年i 2021-01-31 20:58

Please have a look at this example posted by Johannes Schaub to sort a vector of pairs:

How do I sort a vector of pairs based on the second element of the pair?

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 21:37

    Your theory is correct, see:

    http://www.boost.org/doc/libs/1_44_0/libs/bind/bind.html#operators

提交回复
热议问题