Class Diagram C++: Collection association not working as expected.

  • Thread starter Thread starter Paul_Omta
  • Start date Start date
P

Paul_Omta

Guest
The 'view class diagram' feature in Visual Studio 2012 is quite nice, but lacking an essential feature, it seems.

I have a class that has a member std::vector<Foo>, where Foo is one of my own classes. Clicking on 'Show as collection association' in the class diagram viewer only gives the message: "Cannot show as collection association when the member is not a collection."

Does anyone know if I'm doing something wrong or if this is just not supported? Note that I have correctly included the <vector> header file in my class header file, so that can't be the problem.

Continue reading...
 
Back
Top