Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-30 17:08:00


"Philippe A. Bouchard" <philippe_at_[hidden]> writes:

> Philippe A. Bouchard wrote:
>
> [...]
>
>> template<typename T>
>> class shifted_ptr
>> {
>> public:
>> template <typename U>
>> shifted_ptr(shifted_ptr::details::stype<U> &);
>>
>> ...
>> };
>>
>
> Correction:
> template <typename U>
> shifted_ptr(shifted_ptr::details::stype<U> *);
>

This still exposes an unmanaged raw pointer, doesn't it?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk