standard not clear about member function partial specialization

S

SainTiss

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top