How to use core.atomic.cas with (function) pointers?

Kagamin spam at here.lot
Wed Jan 23 07:46:25 UTC 2019


I believe this is historical. It will fail because atomics are 
combinatorially parameterized because the compiler couldn't 
properly infer template arguments until recently (this also 
resulted in memory corruption in ldc fork of druntime). Now that 
the compiler was fixed, atomics can be fixed too and have single 
template parameter.


More information about the Digitalmars-d-learn mailing list