------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-14 12:45 ------- 14.3.2 (5) says the following: For a non-type template-parameter of type pointer to data member, qualification conversions (4.4) are applied.
Meaning only adding cvq can be added which makes this invalid code. ICC also rejects this code for the same reason as GCC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22059