https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68309

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Without headers:

namespace std {
template <typename _Tp> _Tp forward(int);
template <class> class initializer_list {
  int *_M_array;
  unsigned long _M_len;
};
}
using namespace std;
template <typename... Ts> void print(Ts... args) {
  [&] { auto _ = {forward<decltype(args)>(args)...}; };
}
int main() { print(5.2); }

Reply via email to