std::adjacent_find does its job :P
Type: Posts; User: Tux0r
std::adjacent_find does its job :P
Obviously, but I'm not the one who likes to reinvent the wheel.
Yeah I tried count but it looks like std::adjacent_find is the best solution.
By the way is there a STL algo for checking if all elemens in an array are equal? I didn't find one.
Obfuscation at its best.
It's a bad habit from writing too much C code. :devil:
Hello, is there a way I can implement the ability to go (a==b==c) on instances instead of (a==b && b==c)
Thanks