A
https://developercommunity.visualstudio.com/content/problem/255505/if-constexpr-inside-lambda-bug.html вроде пофиксили (ну и твой пример работает)
https://bugs.llvm.org/show_bug.cgi?id=45506
Size: a a a
A
АГ
KZ
m
s
struct Tag {Где-то в коде ниже:
uint64_t tag1 : 48;
uint64_t tag2 : 16;
};
Tag t;
...
auto val = *reinterpret_cast<uint64_t*>(&tag);
s
KZ
KZ
s
s
ZZ
АР
ПК
AT
ZZ
ZZ
ПК