Skip to content

Instantly share code, notes, and snippets.

@asit-dhal
Created December 4, 2020 21:05
Show Gist options
  • Save asit-dhal/3741d1571afd9ba78edb720d9906f078 to your computer and use it in GitHub Desktop.
Save asit-dhal/3741d1571afd9ba78edb720d9906f078 to your computer and use it in GitHub Desktop.
struct A {
explicit A(int a) : a(a) {}
int a;
};
struct B : public A {
B(int a, char c, char d, char e) : A(a), c(c), d(d), e(e) {}
char c;
char d;
char e;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment