Re: object-model: Return by value, reference or pointer? (or something else?)
From: Steinar Bang <sb_at_dod.no>
Date: Wed, 13 Oct 2010 22:05:44 +0200
>>>>> "Hyrum K. Wright" <hyrum_wright_at_mail.utexas.edu>:
> This is an interesting approach...and parallels what has already been
> Out of curiosity, have you taken a chance to look at the
Looking at it now.
> Of particular interest are the RefCounter and CStructWrapper classes.
Hm... personally I would have gone for a non-templatized solution. More
But it's a personal choice thing, and not an argument against.
I'm divided on whether I would move the delete of the RefCounter object
So leaving the delete where it is is probably a good choice. :-)
Other than that it looks good to me (with the caveat that I haven't
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.