volatile struct definition for peripheral control registers

Ali Çehreli acehreli at yahoo.com
Mon Dec 2 22:44:24 UTC 2024


On 12/2/24 12:27 PM, Josh Holtrop wrote:

 >>   alias get this;
 >
 > If I use `alias this` I don't know how I can get `volatileLoad()` to be
 > called.

Note that alias this is used with your 'get' function, which still calls 
volatileLoad().

Ali



More information about the Digitalmars-d-learn mailing list