b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
babyfacenan (黑土) 于 (Thu Feb 21 21:03:35 2008) 提到:
想写一个functor来比较2个pair的大小,但是compile有错误, Code Below
===========================================================
error C2664: 'void __cdecl std::sort(struct std::pair *,stru
ct std::pair *,bool (__thiscall *)(struct std::pair
le>,struct std::pair))'
ruct std::pair)' to 'bool (__thiscall *)(struct std::pair
t,double>,struct std::pair)' |
|