Am Sun, 17 Aug 2014 15:15:12 +0200
schrieb "Artur Skawina via D.gnu" <d.gnu@puremagic.com>:

> Do you see any problems with it? (Other than gcc not removing
> that dead constant load)

It's perfect for structs, but when simply declaring a Volatile!uint the
pointer dereference must be done manually, right?

----
enum TimerB = cast(Volatile!(uint)*)0xDEADBEEF;

*TimerB |= 0b1;
----

I don't think that a huge problem though, just a little bit
inconvenient.

Reply via email to