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

Tag: specialization

26.5 — Partial template specialization

161

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 PDT March 16, 2024
Continue reading"26.5 — Partial template specialization"

26.4 — Class template specialization

106

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 classes! Consider the case where you want a …

Alex August 16, 2008, 2:25 pm PDT July 5, 2024
Continue reading"26.4 — Class template specialization"

©2024 Learn C++ Privacy Policy