tags:

views:

45

answers:

2

how do i sort a std::list? the workaround posted here: http://support.microsoft.com/kb/265109 doesnt seem to work.

error: 'greater' has already been instantiated from the primary template

A: 

im using MS VC++ 6.0 as ide

SideShowBob
+1  A: 

Probably this might help you: STL Algorithms: sort

anand.arumug