Advertisement
frasl

Untitled

Feb 11th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. template <typename... bases>
  2. struct X : bases... {
  3.     using bases::g...;
  4. };
  5. X<B, D> x; // OK: B::g and D::g introduced
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement