Report question

Question: Is there a way to do a C++ style compile-time assertion to determine machine's endianness?