Since the discussion and workarounds in     Getting shared_ptr refs to appear 
in collaboration diagrams..... Eric J. Holtman 2010-03-01    and     Re: 
templates and association diagrams  James Ahlborn   2004-08-04    there is now 
the C++11 (and 14) standard (and one dos not need boost for certain smart 
pointer anymore) 
and I am still searching for an solution which is showing an embedded class 
object by a smart pointer 
(std::shared_ptr, std::week_ptr, std::unique_ptr) like a usual raw pointer.    
When generating UML look diagrams raw pointer s are indicated which the usually 
diamond symbol, 
but classed embedded by smart pointers are not shown.    The workarounds 
managed in the posts (namespace std { template<class T> class shared_ptr { T 
*dummy; }; } ) 
above are not solving the problem because they are showing an intermediate 
object "shared_ptr" 
between class and embedded class object.      (Maybe there are some good 
reasons that doxygen will not show all classes embedded in containers but 
since smart pointer can be use and treated like raw pointers (and provide a lot 
of advantages) I know no reasons why they should not be displayed like raw 
pointers.)
Best Regards, Jens Frangenheim
  
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to