|
JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
|
Internal constraint for native unsigned integer types. More...
#include <jh/pods/bits.h>
Internal constraint for native unsigned integer types.
This concept matches exactly the unsigned integer types that can directly back a bitflags<N> specialization: uint8_t, uint16_t, uint32_t, and uint64_t.
It exists solely to enable optimized implementations where the entire bitset can be represented and manipulated as a single native integer, allowing constant-time bitwise operations and efficient popcount.
Internal use only. This concept is not part of the public API and must not be relied upon by user code.