View Single Post
  #13   Spotlight this post!  
Unread 10-03-2010, 11:58
Bigcheese Bigcheese is offline
C++0x FTW!
AKA: Michael Spencer
FRC #1771
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: GA
Posts: 36
Bigcheese is a jewel in the roughBigcheese is a jewel in the roughBigcheese is a jewel in the roughBigcheese is a jewel in the rough
Re: Camera code does not recognize target

Wow, I can't believe I didn't catch this.

Windriver uses GCC which implements C++03, so all that matters is what the WG21 standard says. Which is that the std::sort function wants a comparator that returns a bool.

This is not a difference of behavior between C and C++. This is an added feature of C++ used as if it were the preexisting C feature.
Reply With Quote