title: c++ aggregation relationship creation
body: <p>I have the following code:</p>
  
  <pre><code>class D;
  class E;
  
  #include "B.h"
  #include "C.h"
  #include "F.h"
  #include "G.h"
  
  #include &lt;vector&gt;
  
  class A: public G {
  
      B  b;
      std::vector&lt;C&gt;  cs;
      D* d;
      std::vector&lt;E*&gt; es;
      std::vector&lt;F*&gt; fs;
  
  public:
      A() { fs.push_back(new F); fs.push_back(new F); }
  };
  
  int main() {}
  </code></pre>
  
  <p>in Bouml i generated class diagram from this code:</p>
  
  <p><a href="https://i.stack.imgur.com/7a7va.png" rel="nofollow noreferrer">diagram</a></p>
  
  <p>I thought that (<a href="https://softwareengineering.stackexchange.com/questions/255973/c-association-aggregation-and-composition">https://softwareengineering.stackexchange.com/questions/255973/c-association-aggregation-and-composition</a>) relationship between A and F had to  produce an aggregation relationship but it produced an association relationship. How can i establish an aggregation relationship?</p>