Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-05-02 04:24:29


"Andrei Alexandrescu" <andrewalex_at_[hidden]> wrote in message
news:aaqean$ada$1_at_main.gmane.org...
> [...]
> template <class T, many parameters>
> class smart_ptr
> {
> ...
> };
>
> template <class T>
> struct ptr
> {
> typedef T* raw;
> typedef smart_ptr<T, some policies> shared;
> typedef smart_ptr<T, some policies> scoped;
> typedef smart_ptr<T, some policies> scoped_array;
> typedef smart_ptr<T, some policies> weak;
> typedef smart_ptr<T, some policies> std_auto;
> };
> [...]

I've uploaded std_ptrs.hpp to:
http://groups.yahoo.com/group/boost/files/smart_pointers/loki_ptr/.
It looks like I might need to write some policies for shared/weak/
intrusive_array, but that shouldn't be too difficult.

Dave


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