Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualParadigm Shifter

Posted 31 May 2013 - 12:35 PM

Or you could save some typing and use

 

myList.sort(std::greater<int>);

 

EDIT: Although you probably have to type #include <functional> as well...


#1Paradigm Shifter

Posted 31 May 2013 - 12:31 PM

Or you could save some typing and use

 

myList.sort(std::greater<int>);


PARTNERS