Created
March 22, 2017 22:46
-
-
Save stryku/d468d5963f786373ba9f305dbc047c64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <typename stack_type, typename flags_type, typename registers_state_type> | |
struct machine_state | |
{ | |
using stack_t = stack_type; | |
using flags_t = flags_type; | |
using registers_state_t = registers_state_type; | |
static constexpr to_flags<flags_t> flags{}; | |
static constexpr to_register_state <registers_state_t> reg_state{}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment