
"Pavel Chikulaev" <pavel.chikulaev@gmail.com> wrote in message news:d5tl91$plq$1@sea.gmane.org... | "Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message | news:d5sfp7$ogk$1@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