In file included from prog.cpp:2:0:
/usr/include/c++/5/tuple: In instantiation of 'struct std::_Head_base<0u, Test, false>':
/usr/include/c++/5/tuple:339:12: required from 'struct std::_Tuple_impl<0u, Test>'
/usr/include/c++/5/tuple:463:11: required from 'class std::tuple<Test>'
prog.cpp:14:29: required from 'void f() [with T = std::tuple<Test>]'
prog.cpp:19:22: required from here
/usr/include/c++/5/tuple:147:13: error: cannot declare field 'std::_Head_base<0u, Test, false>::_M_head_impl' to be of abstract type 'Test'
_Head _M_head_impl;
^
prog.cpp:5:8: note: because the following virtual functions are pure within 'Test':
struct Test
^
prog.cpp:5:8: note: virtual Test::~Test()