greater vancouver greater
(相關(guān)資料圖)
1、這只是個原型你要看類實現(xiàn)。
2、這是vc9 functional頭里的實現(xiàn)template struct greater : public binary_function { // functor for operator> bool operator()(const _Ty& _Left, const _Ty& _Right) const { // apply operator> to operands return (_Left > _Right); } };。
本文到此分享完畢,希望對大家有所幫助。
標簽:
相關(guān)熱詞搜索: