This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22059] Inherited member as template argument


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]