Boost logo

Boost :

From: Matthew Wilson (stlsoft_at_[hidden])
Date: 2003-11-17 16:56:53

"Beman Dawes" <bdawes_at_[hidden]> wrote in message
> At 02:49 PM 11/17/2003, Matthew Wilson wrote:
> >> > [As a side question, is it true that Nicolai Josuttis was the
> >> > inventor of the technique?]
> >>
> >> Which specific technique do you have in mind?
> >
> >Not the general principle of having the reference-count external to the
> >counted type, but the specific technique of having it a heap-allocated
> >(integer) instance. That seems, to me anyway, the essence of the
> >shared_ptr,
> >and the bit that's conceptually beautiful (albeit potentially slightly
> >inefficient).
> Greg Colvin invented that technique, AFAIK. The template used to be called
> counted_ptr.
> See the second page of
> for a paper
> Greg wrote in 1994. I think there was also an earlier paper by him, but
> not able to find a copy.

Nice one.

Thanks for that


Boost list run by bdawes at, gregod at, cpdaniel at, john at