Weird runtime error

Правка en1, от berserker, 2019-08-15 22:10:09

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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский berserker 2019-08-15 22:10:09 585 Initial revision (published)