From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-02-26 17:47:43


Patrik Jonsson:

> Hi,
>
> I'm trying to transparently get the type of a shared_ptr or a pod
> pointer using iterator_traits::value_type. This fails on shared_ptr<T>
> with the following message:

...

Use boost/pointee.hpp instead of iterator_traits.