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
Ali Çehreli via Digitalmars-d-learn Mon, 02 Dec 2024 14:45:55 -0800
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