From: Thomas Tutone <thomas8675309@ya...> - 2003-09-09 14:19:33
> I am trying to play around with templates and
> partial template specialization. Here is the code
> and results:
[code and error messages snipped]
> My question is, what am I doing wrong? I thought
> template functions supported partial template
> specialization. Maybe I am wrong.
First, please post in plain text, not html.
Second, as you guessed, you are wrong. Standard C++
does not permit function template partial
specialization. Here's a link to a Herb Sutter
article that discusses the issue:
If you want partial specialization, you need to use
class templates, not function templates.
This isn't a MinGW issue of course, it's just C++.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software