destroyed_ = false;
Why are these statements in the opposite order to P151 in the book?
I'm surprised how long it takes to get a reply here. The forum has been getting quieter for years.
I expected to be able to speak about this before submitting a bug report.
Have you searched the file history?
Do you mean the archive of releases? It was changed in 0.1.1.
destoyed_ should only be set to false when OnDeadReference returns. OnDeadReference throws by default and destroyed_ is left wrongly set to false.
I mean the svn history:
Changed was it here:
And you are right, seems the current order is not correct.
Many thanks for the report, and for your patience!
Thanks for fixing that. I'm not used to SourceForge. Theres a couple of other points I've raised. Ones in the thread SmartPtr Ownership policy. The other I made a bug report about not using explicit with some single argument constructors.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.