My code:
enum class list{one, two}; template class Base; template <> class Base { A a{list::one}; B b{list::one}