开发者

Sorting std::list of pointers

开发者 https://www.devze.com 2023-01-06 06:23 出处:网络
How do I sort a std::list<someClass*>? The workaround posted here: http://suppo开发者_运维技巧rt.microsoft.com/kb/265109 doesn’t seem to work.

How do I sort a std::list<someClass*>? The workaround posted here: http://suppo开发者_运维技巧rt.microsoft.com/kb/265109 doesn’t seem to work.

error: 'greater<class Object *>' has already been instantiated from the primary template

I’m using MS VC++ 6.0 as IDE.


Probably this might help you: STL Algorithms: sort

0

精彩评论

暂无评论...
验证码 换一张
取 消