Reputation: 732
Given the following code:
class A { enum class B { Member }; struct C { }; };
How can I define a type alias that allows me to access B::Member as C::B::Member?
B::Member
C::B::Member
Upvotes: 0
Views: 514
Reputation: 119219
struct C { using B = A::B; // or: typedef A::B B; };
Upvotes: 8