wwylele / teakra

DSi/3DS DSP emulator, disassembler, assembler, and tester
MIT License
76 stars 19 forks source link

oprand: Mark Rn and Px's constructors as constexpr #36

Closed lioncash closed 5 years ago

lioncash commented 5 years ago

It's pretty odd to leave the constructors as non-constexpr, while making any accessor functions constexpr (i.e. Index() can essentially never be used in a truly constexpr scenario, since an instance can't be constructed in a constexpr manner).