I am drawing UML for C ++, as the UML distilled book teaches.
Before learning Template Programming, a book was enough. But while I'm studying Template Programming, including Template Meta Programming, I finally met this problem.
- Are there any known methods for instantiating templates?
- Any better way to express an instance of templates?
https://github.com/Jeonghum/tmplguide/tree/master/inherit
From this page you can find the UML diagram I drew for
will inherit / namedtmpl.cpp
This is an example book, C ++ templates are a complete guide. If you could explain it as an example, it would be better.
I am using StarUML.
source share