Издательство: | Книга по требованию |
Дата выхода: | июль 2011 |
ISBN: | 978-6-1308-9420-7 |
Объём: | 64 страниц |
Масса: | 117 г |
Размеры(В x Ш x Т), см: | 23 x 16 x 1 |
High Quality Content by WIKIPEDIA articles! When a function or class is instantiated from a template, a specialization of that template is created by the compiler for the set of arguments used. However, the programmer may decide to implement a special version of a function for a given set of template arguments which is called an explicit specialization. If a class template is specialized by a subset of its parameters it is called partial template specialization. If all of the parameters are specialized it is a full specialization. Function templates cannot be partially specialized. Explicit specialization is used when the behavior of a function or class for particular choices of the template parameters must deviate from the generic behavior: that is, from the code generated by the main template, or templates.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.