mirror of https://github.com/AxioDL/metaforce.git
06c436b68d
Type punning like this isn't actually well-defined behavior. Only casting to char/unsigned char is well defined. This presents a problem when using FourCC instances in constexpr contexts, given constexpr contexts are forbidden from having undefined behavior in them. Because of that, any attempt to use the const char* constructor within a constexpr context would always result in a compilation error. |
||
---|---|---|
hecl |