[Bug c++/91678] [9/10 Regression] decltype returns wrong type under certain conditions
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 3 09:34:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91678
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Marek, are you still working on the patch?
Does it also fix the testcase from PR 92766?
template<typename T>
void foo(T&& begin, T&& end);
void test()
{
unsigned char buffer[16];
const unsigned char* ptr = buffer;
foo(ptr+0, ptr+8);
}
More information about the Gcc-bugs
mailing list