[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 14 19:15:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another simple test:
template<typename>
decltype(int{1.1}) v;
More information about the Gcc-bugs
mailing list