Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Base {
- Base(int) {}
- };
- struct D1 : virtual Base {
- using Base::Base;
- };
- int main() {
- static_assert(std::is_constructible<D1, int>::value, ""); // FAILS
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement