|
inlineconstexpr |
Architecture reporting value.
The spy::architecture
object can be compared to any other architecture related value to verify if the code being compiled is compiled for a given CPU architecture.
Additionally, any of the architecture related value are convertible to bool
. They evaluates to true
if they matches the correct architecture currently targeted.
Name | Architecture |
---|---|
spy::amd64 | Intel X86-64 and similar architectures. |
spy::arm | ARM. |
spy::ppc | PowerPC. |
spy::riscv | RISC-V. |
spy::wasm | WASM pseudo-architecture. |
spy::x86 | Intel X86. |