15 Apr
2009
15 Apr
'09
5:25 p.m.
AMDG Dominique Devienne wrote:
So I used covariant return type, which AFAIK works only for raw pointers. If I were to remove the raw pointer accessors, I'd have to do either:
I would probably use a non-member template that encapsulates the necessary logic: template<class T> shared_ptr<typename T::IdentType> getIdent(T& t); In Christ, Steven Watanabe