https://issues.dlang.org/show_bug.cgi?id=18376
Issue ID: 18376 Summary: core.atomic.atomicOp should allow passing in values by pointer reference Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: bootcamp Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com There's some existing code out there (e.g. std.getopt) that is based on pointers. --- shared int foo; atomicOpPointer!("+=")(&foo, 1); --- would help in migrating this code. Other functionality in this module is already based on pointers (e.g. cas) See also: https://issues.dlang.org/show_bug.cgi?id=18375 --