[Bug c++/22059] Inherited member as template argument
karlu at itn dot liu dot se
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 09:26:00 GMT 2005
------- Additional Comments From karlu at itn dot liu dot se 2005-06-14 09:25 -------
I forgot to describe the problem.
The attached source code contains a template that has a member pointer argument.
When the template is used in a way so that the pointer should refer to an
inherited member a compiler error is rendered. I have also included a member
pointer example that is not in a template and that works fine. I'm not good at
reading the standard, but from what I can see there should be no difference
between how a member pointers are handled in template arguments and elsewhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22059
More information about the Gcc-bugs
mailing list