mirror of
https://github.com/boostorg/atomic.git
synced 2026-01-19 04:02:09 +00:00
ff2574cd03a476c310f50b7b8508ec78a846a3b5
This is a Boost.Atomic extension over std::atomic. Bitwise operations can be useful if the enumeration is used to implement a bit mask or a set of flags. Without these operations, users have to manually perform conversions between the enum type and the underlying type, which can be tedious. There are caveats with enums with non-fixed underlying type, but the convenience outweighs the potential pitfalls.
Boost.Atomic, part of collection of the Boost C++ Libraries, implements atomic operations for various CPU architectures, reflecting and extending the standard interface defined in C++11 and later.
Directories
- build - Boost.Atomic build scripts
- doc - QuickBook documentation sources
- include - Interface headers of Boost.Atomic
- src - Compilable source code of Boost.Atomic
- test - Boost.Atomic unit tests
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
Build status
| Branch | GitHub Actions | AppVeyor | Test Matrix | Dependencies |
|---|---|---|---|---|
master |
||||
develop |
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
99.3%
CMake
0.7%
