![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Check if a type has a certain number of bits. More...
#include <shambase/include/shambase/type_traits.hpp>
Static Public Attributes | |
| static constexpr bool | value = bitsizeof<T> == num |
| True if bitlen of T is equal to num. | |
Check if a type has a certain number of bits.
This struct template provides a static constexpr bool member value which is true if the type T has num bits.
| T | type to check |
| num | number of bits |
Definition at line 45 of file type_traits.hpp.
True if bitlen of T is equal to num.
Definition at line 47 of file type_traits.hpp.