Does anyone know how to model C++11 variadic template parameters correctly in UML 2.2?
I've seen a number of UML profile models as a result from web-search, that seem to describe the construct of 'any number of optional template parameters'. Or do I just confuse this with the fact that any usual template parameter might be optional when a default is provided in the declaration?
Can someone refer to appropriate links or specific sections of the UML 2.2/2.3 specs?
Here's a proposal I've been creating with enterprise-architect:
UPDATE:
I'm especially interested in how the binding for unpacking mechanisms could be modeled.
OK, since nobody seems to have an answer I'm going to answer my question with what I've come up:
It's just a slightly modified model of the first proposal I gave in the question. At least with enterprise-architect I'm able to generate a syntactically correct and usable code skeleton. It's not possible to reverse engineer the generated code though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With