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
| "Thorsten Ottosen" <nesotto_at_[hidden]> wrote in message
| news:d5sfp7$ogk$
| > there should be
| >
| > void ptr_container::operator=( auto_ptr<ptr_container> ) already. Is it
| > 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?


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