Talk:Partial template specialization

From Wikipedia, the free encyclopedia

Partial template specialization is a method of optimizing generic code at compile time. 

Total bullshit, its not for optimizing for for taking care of special abilities, e.g. that its a pointer, or that for type X some access to whatever is done otherwise. what about informing before writing,

Yes, this article contains mostly incorrect information on a very narrow subject. I rewrote the first paragraph for a better definition of partial specialization. The "Templates and specialization" section should also be expanded to cover more uses of partial specialization. Containers are just an example. There are lots more uses, see for example Template metaprogramming. Ufretin (talk) 11:06, 12 January 2008 (UTC)

as opposed to explicit specialization, where all the template arguments are provided

In the first paragraph, maybe you intended to say "full specialization" instead of "explicit specialization" —Preceding unsigned comment added by 77.234.79.113 (talk) 13:01, 13 February 2008 (UTC)

Well, the terms are used somewhat interchangeably, but the standard uses "explicit specialization", so I made an informed decision to use that term. There could still be good reasons for using "full specialization" instead, though. I am aware that Vandevoorde and Josuttis avoids the term "explicit specialization" in their C++ Templates:The complete guide, for instance. Ufretin (talk) 06:44, 22 February 2008 (UTC)