DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 16 00:50:04 PDT 2014


On Wednesday, 16 July 2014 at 05:17:56 UTC, Johannes Pfau wrote:
> I think if we decide that Volatile!T is the solution I'd 
> probably hack
> an attribute @TypeWrapper for gdc which simply recognized 
> Volatile!T
> and does the right thing.

I'd recommend @fantom name, because not only type wrappers can 
benefit from these optimizations. Should be also applicable to 
functions and maybe modules.


More information about the Digitalmars-d mailing list