// PR c++/88848 // { dg-do compile { target c++17 } } template struct True { static constexpr bool value{ true }; }; template struct Integer { static constexpr int value{ VALUE }; }; template struct Foo { using Integer_t = Integer; static TYPE get_type(Integer_t); }; template struct Bar : ARGS... { using ARGS::get_type...; template using Type_t = decltype(get_type(Integer{})); Bar() { static_assert((True< Type_t >::value && ...)); } static_assert((True< Type_t >::value && ...)); }; int main() { Bar, Foo<8, double>> obj; return int{ sizeof(obj) }; }