Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-11 15:00:12


"Pavel Chikulaev" <pavel.chikulaev_at_[hidden]> wrote in message
news:d5tl91$plq$1_at_sea.gmane.org...
| "Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
| news:d5sfp7$ogk$1_at_sea.gmane.org...
| > there should be
| >
| > void ptr_container::operator=( auto_ptr<ptr_container> ) already. Is it
not
| > what you expect?
|
| You've said about assignment operator the following:
| >well, it does lead to a conversion sequence instead of a direct call to the
| >constructor, so it might not be that bad >to add the operator.
|
| So my comment was based on that statement.

that statement was made before I realized that I already had such an operator.

| BTW what's the rationale returning void instead of ptr_container & ?

what do you need the returned reference for?

-Thorsten


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