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


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