[Issue 21701] New: casWeak is not implemented
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 11 10:18:37 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21701
Issue ID: 21701
Summary: casWeak is not implemented
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: druntime
Assignee: nobody at puremagic.com
Reporter: rymrg at memail.com
casWeak is not implemented
import core.atomic;
void main()
{
int a;
casWeak!(MemoryOrder.acq_rel, MemoryOrder.raw)(&a, 0, 4);
}
/dlang/dmd/linux/bin64/../../src/druntime/import/core/atomic.d(430): Error:
template instance atomicCompareExchangeWeakNoResult!(succ, fail) template
atomicCompareExchangeWeakNoResult is not defined
onlineapp.d(5): Error: template instance
core.atomic.casWeak!(MemoryOrder.acq_rel, MemoryOrder.raw, int, int, int) error
instantiating
--
More information about the Digitalmars-d-bugs
mailing list