471,581 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,581 software developers and data experts.

standard not clear about member function partial specialization

Hi,

I've been looking into the standard for a clear statement on whether partial
specialization of member functions of class templates is allowed or not.

14.7.3/4 says that explicit specialization of a member function is legal,
but doesn't state that partial specialization is not.

One might argue that the standard indicates that partial specialization
implies a distinct template, and therefore defining a member function
requires the specialized class to be defined as well (explicitly
instantiated).
However, I don't find that very clear in the standard...

Did I just misinterpret some sections, or is this really somewhat blurry?

Thanks,

Hans
Jul 22 '05 #1
1 1534
Sorry, this should have gone to comp.std.c++
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Peter Koch Larsen | last post: by
2 posts views Thread by Jakob Bieling | last post: by
5 posts views Thread by desktop | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.