Afficher un message
Vieux 24/02/2008, 17h19   #4
Abhishek Padmanabh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Explicit template instanciation, what is incorrect

On Feb 24, 9:09pm, Leon Pollak <le...@plris.com> wrote:
> The only question I still have is: why in
> the case of one parameter in the template everything works fine?


Sorry, but I did not understand what you ask here. What do you mean by
one parameter in template?

> I mean, I
> can do explicit specification like
> template<> .....
> And in this case I do can have several bodies of the same function!


If you do explicit specialization of your class, you can have any
number of bodies of that function but that will be equal to the number
of specializations you provide. That will also depends on what values
of Index and Prio do you specialize them for.
  Réponse avec citation
 
Page generated in 0,04417 seconds with 9 queries