[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 31 07:51:00 GMT 2008
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-31 07:49 -------
> ulong ConnectCB(GtkWidget* pWidget, const char* sigName, _R(_ClassType::*MemFun)(GtkWidget*, _A1))
> {
> typedef CBFamily2<_ClassType, _R, GtkWidget*, _A1, MemFun> TCallbackType;
This code is invalid code, you are using a non constant expression for a
template argument.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681
More information about the Gcc-bugs
mailing list