Display template parameters for a function in a class diagram

How to show in the class diagram that fnc of this class uses some additional parameters not listed in the class declaration?
For instance:

template<class SomePolicy>
struct SomeClass
{
template<class T>//<= here fnc uses param type not listed in class decl.
void f();
};
+3
source share
1 answer

Are you referring to the return argument template<class T>? If so, usually I create a new type, in this case for template<class T>.

My main experience is only with ArgoUML and the only way I found for this with ArgoUML. It is not beautiful, but it works :)

. Visual Paradigm: http://oldresources.visual-paradigm.com/uml_diagrams/class_diagram/drawing_class_with_template_parameter.html

0

Source: https://habr.com/ru/post/1773799/


All Articles