[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 31 22:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-31 22:04:33 UTC ---
template<class>
struct HasUpdateMethod {
template <class U, class... V>
static void test(U * u, V *... v,
decltype(u->update(*v...)) * = 0);
};
HasUpdateMethod<int> x;
crashes g++-4.8 -std=c++11 from 1 month ago (can't test current right now).
More information about the Gcc-bugs
mailing list