Remix.run Logo
raluk 4 hours ago

In C / C++ there are two kinds of undefined behaviour. One is where there is written in standard what UB is. Another one is everthing else that is not in standard.

wiseowise 4 hours ago | parent | next [-]

https://en.wikipedia.org/wiki/There_are_unknown_unknowns

thaumasiotes 4 hours ago | parent | prev [-]

Technically, that's only one kind, because it's written in the standard that anything not mentioned in the standard is undefined behavior.

cepepe 4 hours ago | parent | next [-]

One kind, but two different classes of undefined behaviour.

3 hours ago | parent | prev [-]
[deleted]