#include <vector>
#include <iostream>
enum Mon : int { A = 5, B, C };
struct M {
explicit M(Mon m, Mon n) : v { 1, m } {}
std::vector<Mon> v;
};
int main() {
Mon m = A, n = B;
M moo { m, n };
for (constauto& m : moo.v)
std::cout << m << ' ';
std::cout << '\n';
}