104104namespace ${THIS_PROJECT_NAME} {
105105
106106namespace sys {
107- enum struct Os {
107+ enum struct Os : unsigned char {
108108 ADSP, AIX, Android, ARTOS, BeOS, BlueGeneL, BlueGeneP_dynamic,
109109 BlueGeneP_static, BlueGeneQ_dynamic, BlueGeneQ_static, BSDOS,
110110 Catamount, CrayLinuxEnvironment, CYGWIN, Darwin, DOS, DragonFly,
@@ -123,7 +123,7 @@ namespace sys {
123123} // namespace sys
124124
125125namespace compiler {
126- enum struct Vendor {
126+ enum struct Vendor : unsigned char {
127127 ADSP, AppleClang, ARMCC, ARMClang, Bruce, Clang, Cray,
128128 CrayClang, Embarcadero, Borland, Fujitsu, FujitsuClang,
129129 GNU, GHS, HP, IAR, Intel, IntelLLVM, LCC, MSVC, NVHPC,
@@ -148,7 +148,7 @@ namespace version {
148148} // namespace compiler
149149
150150namespace lang {
151- enum struct Std { Cxx98, Cxx03, Cxx11, Cxx14, Cxx17, Cxx20, Cxx23 };
151+ enum struct Std : unsigned char { Cxx98, Cxx03, Cxx11, Cxx14, Cxx17, Cxx20, Cxx23 };
152152
153153 inline constexpr auto std =
154154#if ${PROJECT_NAME_CAPS}_HAS_STD_CXX23
0 commit comments