Advertisement
Guest User

Untitled

a guest
May 25th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. struct Base {
  2. Base(int) {}
  3. };
  4.  
  5. struct D1 : virtual Base {
  6. using Base::Base;
  7. };
  8.  
  9. int main() {
  10. static_assert(std::is_constructible<D1, int>::value, ""); // FAILS
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement