Boost logo

Boost :

From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-05-11 14:04:11


"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.

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

--
Pavel Chikulaev

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