How to create Parameterized Classes (C++ Templates)?

Hi,

In my class diagram, there is a parameterized class (template). I want to create an instance of that template and show the bound element.

In other words, I have the following in my code:


template <class Type>
class foo
{
   ...
};

class bar
{
   ...
};

How do I represent the template instantiation foo in a class diagram?

I have defined both the template class and the class that will be used to define the template instantiation. I want to show the binding of the template parameter in the diagram without creating a third class, assuming that it is possible.

VP-UML 5.2

Hi SFLeBrun,

Sorry for the late reply. Also sorry that we do not support what you want at this moment. But it is now under development. We will support that in about September.

Best Regards,
Jick