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