berserker's blog

By berserker, history, 5 years ago, In English

Using lambda expression inside sort.

GNUC++14 Runtime error

GNUC++11 AC

Using comp function instead of lambda.

GNUC++14 Runtime error

GNUC++11 AC

Clang++17 AC

I don't understand why I am getting undefined behaviour. I have used only basic constructs.

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it