![]() |
ATLAS Offline Software
|
Custom Bitset class that can handle clamping of values. More...
#include <BitSpec.h>
Public Member Functions | |
| constexpr | Bitset (unsigned long long value) |
| constexpr | Bitset (const Bitset &)=default |
| constexpr | Bitset (Bitset &&)=default |
| constexpr | Bitset (const Base &bits) |
| constexpr | Bitset (Base &&bits) |
| template<std::size_t M> | |
| constexpr | Bitset (const std::bitset< M > &other) |
| template<typename T> requires std::is_integral_v<T> | |
| constexpr | Bitset (T value) |
Static Public Attributes | |
| static constexpr auto | max |
| static constexpr auto | min |
Private Types | |
| using | Base = std::bitset<N> |
Static Private Member Functions | |
| static constexpr std::uint64_t | unsignedMax () |
| static constexpr std::int64_t | signedMin () |
| static constexpr std::int64_t | signedMax () |
| template<typename T> | |
| static constexpr std::uint64_t | convert (T value) |
Custom Bitset class that can handle clamping of values.
| N | |
| Clamp | |
| Signed |
|
private |
|
inlineconstexpr |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexprprivate |
Definition at line 144 of file BitSpec.h.
|
inlinestaticconstexprprivate |
|
inlinestaticconstexprprivate |
|
inlinestaticconstexprprivate |
|
staticconstexpr |
|
staticconstexpr |