0

What is the uml representation of the following c++ class:

class A;

class B: public std::vector<std::shared_ptr<A>>
{
}

and

class C : public std::enable_shared_from_this<C>
{
}
sergio campo
  • 190
  • 2
  • 13
  • The Legendary Jon Skeet has already provided an answer :) – YSC Mar 19 '18 at 16:38
  • It is not the same. Check that in the first example we have a forward declaration of A. In the second one we have the same inherit class C. It is not duplicated my question is not about template. – sergio campo Mar 19 '18 at 16:42
  • 1
    Forward declaration won't be represented in UML, it makes no sense since it is an implementation detail. – YSC Mar 19 '18 at 16:43

0 Answers0