Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-02 15:11:44


"David B. Held" <dheld_at_[hidden]> writes:

> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:usmv76j23.fsf_at_boost-consulting.com...
>> [...]
>> - by "clean up" you mean "delete?"
>
> Since we were talking about auto_ptr, I guess that's the only valid
> definition of "clean up".
>
>> - by "stuff stuff the toothpaste back..." you mean "move p back into
>> the source pointer?"
>
> Yup. But I see that's not necessary. You just don't squeeze it all out
> to begin with.

Dave,

I guess I should've just come out and said this before: you might be
good at operating in terms of metaphors like toothpaste, but I am not.
If I'm going to be of help, I really need to deal with good, solid C++
terms. Even if you're comfortable speaking about programs that way,
think it would probably be beneficial for you to try to nail down your
terminology and write with precision about the problems you're
solving. Remember when I asked you to write down the sequence of
operations during construction of smart_ptr, and how it uncovered a
bug?

-D

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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