Search:

Type: Posts; User: Tux0r

Search: Search took 0.01 seconds.

  1. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    std::adjacent_find does its job :P

    std::adjacent_find does its job :P
  2. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    Obviously, but I'm not the one who likes to...

    Obviously, but I'm not the one who likes to reinvent the wheel.
  3. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    Yeah I tried count but it looks like...

    Yeah I tried count but it looks like std::adjacent_find is the best solution.
  4. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    By the way is there a STL algo for checking if...

    By the way is there a STL algo for checking if all elemens in an array are equal? I didn't find one.
  5. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    Obfuscation at its best.

    Obfuscation at its best.
  6. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    It's a bad habit from writing too much C code....

    It's a bad habit from writing too much C code. :devil:
  7. Thread: operator==

    by Tux0r
    Replies
    17
    Views
    2,457

    operator==

    Hello, is there a way I can implement the ability to go (a==b==c) on instances instead of (a==b && b==c)

    Thanks
Results 1 to 7 of 7