3 Commits

Author SHA1 Message Date
Andrey Semashev
ddb9cbaadd Slightly cleaner way of aligning the storage pointer. 2020-05-23 23:07:16 +03:00
Andrey Semashev
19e0c794f5 Avoid using Boost.Align to allocate aligned memory.
This works around MinGW compilation issues[1] and removes the otherwise
unnecessary dependency. Aligned storage is allocated manually on the stack.

[1]: https://github.com/boostorg/align/issues/10
2020-02-27 23:38:19 +03:00
Andrey Semashev
904871c37d Implemented atomic_ref.
This commit adds C++20 atomic_ref implementation, documentation and tests.
2020-02-25 02:00:05 +03:00