Using UML, how can I represent A< Foo >
in the following code?
template< class T >
class A : public T
{
/* ... */
};
class Foo { };
A< Foo > a_foo;
Something like this (apologies for the poor ascii art... and to Jon Skeet) is my first guess, but I suspect it is not correct.
________________
| |
| |
| Foo |
| |
|______________|
/:\ /|\
«bind»(Foo) : |
: | .......
__:____|___: T :
| :.....:
| |
| A |
| |
|______________|