• Navigate
    • 19.6 — Partial template specialization for pointers
    • Table of contents
    • 19.4 — Class template specialization
  • Site Index
  • Latest Changes
  • About
    • Site FAQ
    • Leave feedback
    • Report an issue
    • Contact / Support
  •  
  • Search
Learn C++
Learn C++
Skill up with our free tutorials
Skip to content
  • Navigate
    • 19.6 — Partial template specialization for pointers
    • Table of contents
    • 19.4 — Class template specialization
  • Site Index
  • Latest Changes
  • About
    • Site FAQ
    • Leave feedback
    • Report an issue
    • Contact / Support
  •  
  • Search
Tag: specialization

Tag: specialization

19.5 — Partial template specialization

107

This lesson and the next are optional reading for those desiring a deeper knowledge of C++ templates. Partial template specialization is not used all that often (but can be useful in specific cases). In lesson , you learned how expression parameters could be used to parameterize template classes. Let’s take …

Alex August 17, 2008, 6:59 pm August 22, 2021
Continue reading"19.5 — Partial template specialization"

19.4 — Class template specialization

80

In the previous lesson , we saw how it was possible to specialize functions in order to provide different functionality for specific data types. As it turns out, it is not only possible to specialize functions, it is also possible to specialize an entire class! Consider the case where you …

Alex August 16, 2008, 2:25 pm May 19, 2022
Continue reading"19.4 — Class template specialization"

©2022 Learn C++