Inlining std.atomic.AtomicFence

Kagamin via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jan 20 00:33:30 PST 2015


On Wednesday, 14 January 2015 at 17:08:13 UTC, Dan Olson wrote:
> In LDC, how do we make std.atomic.atomicFence inline?
>
>     void atomicFence() nothrow
>     {
>         llvm_memory_fence();
>     }

Wouldn't
  alias atomicFence = llvm_memory_fence;
do it?


More information about the digitalmars-d-ldc mailing list