Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualway2lazy2care

Posted 10 July 2012 - 08:00 AM

If you define some operators for it (< specifically), you should be able to use std::sort without having to do any lambda functions. Though it may be more fun/informative to do it that way (if you do it correctly).

edit: Ah. it looks like SoL mentioned this, but it was deep in his uber-post.

#1way2lazy2care

Posted 10 July 2012 - 07:53 AM

If you define some operators for it (< specifically), you should be able to use std::sort without having to do any lambda functions. Though it may be more fun/informative to do it that way (if you do it correctly).

PARTNERS