LINUX.ORG.RU

История изменений

Исправление Lrrr, (текущая версия) :

так написано на cppreference:

If the underlying type is not fixed and the source value is out of range, the result is unspecified (until C++17) undefined (since C++17)

и кстати -fsanitize=undefined в clang это ловит.

Исходная версия Lrrr, :

так написано на cppreference:

If the underlying type is not fixed and the source value is out of range, the result is unspecified (until C++17) undefined (since C++17)