From 57389871ba891809319f78c0aeb5e492171710ae Mon Sep 17 00:00:00 2001 From: Igor Zarzycki Date: Fri, 6 Sep 2024 21:23:48 +0200 Subject: [PATCH] Add bitCeilForType. --- include/crap/bit | 1 + include/crap/bit.d/bitceilfortype.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 include/crap/bit.d/bitceilfortype.h diff --git a/include/crap/bit b/include/crap/bit index 30a6027..e097ecb 100644 --- a/include/crap/bit +++ b/include/crap/bit @@ -1,6 +1,7 @@ #ifndef CRAP_BIT #define CRAP_BIT +#include "bit.d/bitceilfortype.h" #include "bit.d/bitceiltype.h" #include "bit.d/bitceilvalue.h" #include "bit.d/bitfloortype.h" diff --git a/include/crap/bit.d/bitceilfortype.h b/include/crap/bit.d/bitceilfortype.h new file mode 100644 index 0000000..06eb598 --- /dev/null +++ b/include/crap/bit.d/bitceilfortype.h @@ -0,0 +1,14 @@ +#ifndef CRAP_BIT_BITCEILFORTYPE +#define CRAP_BIT_BITCEILFORTYPE + +#include "bitceilvalue.h" + +namespace crap +{ + template struct bitCeilForType + { + template using type = bitCeilValue; + }; +} +#endif +