4 ms·
There kinda can in the sense that you could just make every function `unsafe`, but that's a bit of a giant blinking red flag.
by masklinn 9y ago
There kinda can in the sense that you could just make every function `unsafe`, but that's a bit of a giant blinking red flag.
- internetionals 9y agoAnd even then it will warn in many situations. Unsafe does not suddenly make everything okay, it only allows 3 specific things that are otherwise not allowed.
- masklinn 9y agoYes, but through these it does let you break the language by creating invalid values (and thus trigger wide-ranging UBs).
- deleted 9y ago[deleted]