Guest User

Untitled

a guest
Feb 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. struct Foo {
  2. int i[2];
  3. };
  4.  
  5. struct Bar : Foo {};
  6.  
  7. Foo f{0, 1}; // OK
  8. Bar b{0, 1}; // error: no matching function for call to
  9. β€˜Bar::Bar(< brace-enclosed initializer list>)’
Add Comment
Please, Sign In to add comment