Normally we use typedefs similar to the ones below:
struct A;
typedef std::shared_ptr<A> A_sp;
typedef std::weak_ptr<A> A_wp;
typedef std::unique_ptr<A> A_up;
It is not aesthetically pleasing and I prefer not having typedefs in .h files. So I am wondering are there any established patterns?
1