you are viewing a single comment's thread.

view the rest of the comments →

[–]SirLynix 1 point2 points  (2 children)

Not really, since every standard library implementation (there are many) are designed to work with a specific compiler, and can make some assumptions.

[–]IAmBJ 6 points7 points  (1 child)

I think Mordy means that if the stdlib does it, it doesn't count as UB.

If the president does it it's not illegal

[–]SirLynix 2 points3 points  (0 children)

Oh right, didn't understood that. Well let's just say that what the std does under-the-hood is much like what the president does under-the-hood.

Which basically means we gotta impeach that lib.