c++ - What's the most brilliant use of templates you've ever encountered? -
We all know the common use of templates for the design of containers, and we all know that you work with such templates Who can spin your head?
When I first used to steady polymorphism, what can I really do with you, it is clear that templates are more useful to design containers, Purchased "Modern C + Design" but unfortunately not yet got the time or concentration to read it but I'm sure it provides a wealth of great uses of templates.
IMHO use a very clever templates.
What is the simplest use of the template you ever encountered?
Meta programming for creating parser grammar
Comments
Post a Comment