I've done enough Googling to know that if I have something like
class SubObject {
public:
//blah blah blah
};
class Aggregate {
public:
boost::shared_ptr<SubObject> m_ptr;
};
I can get Doxygen to create the "correct" collaboration diagram if I have a dummy declaration like
namespace boost { template<class T> class shared_ptr { T *dummy; }; }
in my header file.
My question is: how do I get that to work over all my projects and all my headers, without having to actually include that line in every file?