Hy,
Is the <atomic> header usable and performant or do I have to use <stdatomic.h>.
If <atomic> is not available is there some documentation with examples for <stdatomic.h>? I have already understood what all the different memory orders do.
C++ Atomics implemented?
Re: C++ Atomics implemented?
C++ atomic should work for all types up to but not including 64-bit wide types.
The libstdc++ implementation uses stdatomic.h internally, so anything that works with stdatomic.h should work with STL atomics.
The libstdc++ implementation uses stdatomic.h internally, so anything that works with stdatomic.h should work with STL atomics.
Who is online
Users browsing this forum: No registered users and 120 guests