- Non-type parameters for templates: templates can also have regular typed parameters, similar to those found in functions
- it is possible to set default values or types for class template parameters
- we can create algorithms which evaluate at compile time (factoriel)
Template (C++) (Wikipedia)
- it is possible to set default values or types for class template parameters
- we can create algorithms which evaluate at compile time (factoriel)
Template (C++) (Wikipedia)
No comments:
Post a Comment