38 auto myConstStr =
CONST_STR(
"helloWorld");
40 static_assert(std::same_as<
decltype(myConstStr),
ConstStr<
'h',
'e',
'l',
'l',
'o',
'W',
'o',
'r',
'l',
'd'>>);
41 static_assert(myConstStr.hash == (uint32_t)942280617);
45 INFO(
"myConstStr is a compile-time string");
50 static_assert(std::same_as<
decltype(myConstStr2),
ConstStr<
'h',
'e',
'l',
'l',
'o',
'U',
'n',
'i',
'v',
'e',
'r',
's',
'e'>>);
52 enum ParticleSpecies {
56 static constexpr std::string_view hist[] = {
"ptDist",
"etaDist"};
57 static constexpr std::string_view particleSuffix[] = {
"_pions",
"_kaons"};