Answer the question
In order to leave comments, you need to log in
Initializing union from two enumerations?
struct AggregationTypeAndMetalNonMetalTransitionData {
PrimaryElementGroupType primarygrouptype; // Тип группы элемента.
union {
SecondaryElementGroupMetalType _metal; // Подгруппы металлов.
NonMetalSecondaryGroupType _nonmetal; // Подгруппы неметаллов.
} secondarytype;
StateOfAggregationType stateofaggregation; // Агрегатное состояние вещества.
};
{PrimaryElementGroupType::nonmetals, NonMetalSecondaryGroupType::nonmetal, StateOfAggregationType::Gas}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question