W
woodbrian77
I like this, but I might not be able to use it.
With an enum class I could tell a user to forward declare
it and that I'd create the enum class for them.
enum class cmw_user_input_data_member_flags : std::uint8_t;
struct cmw_user_input
{
cmw_user_input_data_member_flags marshalling_bits;
// ...
};
I think that works because the compiler knows the size of
the enum class.
Can I do that with the class you've described?
With an enum class I could tell a user to forward declare
it and that I'd create the enum class for them.
enum class cmw_user_input_data_member_flags : std::uint8_t;
struct cmw_user_input
{
cmw_user_input_data_member_flags marshalling_bits;
// ...
};
I think that works because the compiler knows the size of
the enum class.
Can I do that with the class you've described?