aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-06-21 18:59:25 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:52 +0200
commit92b4552f64a1a065e6c20cdf55c8465faf3159cc (patch)
tree884c84bd12c64942f061eca25eb5dcc2367183c6 /libcpp
parent8a2679f74fe0fe7717431e2b901f1aec6e607e72 (diff)
downloadgcc-92b4552f64a1a065e6c20cdf55c8465faf3159cc.zip
gcc-92b4552f64a1a065e6c20cdf55c8465faf3159cc.tar.gz
gcc-92b4552f64a1a065e6c20cdf55c8465faf3159cc.tar.bz2
Add new bbitmap<N> class
This class provides a constant-size bitmap that can be used as almost a drop-in replacement for bitmaps stored in integer types. The implementation is entirely within the header file and uses recursive templated operations to support effective optimisation and usage in constexpr expressions. This initial implementation hardcodes the choice of uint64_t elements for storage and initialisation, but this could instead be specified via a second template parameter. gcc/ChangeLog: * bbitmap.h: New file.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions