[Bug c++/94102] Variadic template deduction guide issue - error: 'In instantiation of'

rosemberg at ymail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 9 16:01:12 GMT 2020


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

--- Comment #1 from rosemberg at ymail dot com ---
The work around to solve it was to add the follow deduction guide:

template <typename T0, typename ... T>
Merged (T0, T ...) 
   -> Merged<std::decay_t<T0>, std::decay_t<T>...>;


More information about the Gcc-bugs mailing list