June 15, 2013 [D-runtime] The @safe-ness of core.bitop | ||||
---|---|---|---|---|
| ||||
Hi!
I just noticed that btc(), btr() and bts() in core.bitop are marked as @safe. But are they really? Couldn't using the wrong 'bitnum' easily cause memory corruption?
Lars
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime
|
Copyright © 1999-2021 by the D Language Foundation