On 25.04.2012 20:31, Miles Bader wrote:
> Gene Bushuyev<publicfil...@gbresearch.com> writes:Miles - maybe you could dig up one concrete example from your code base?
>> What you're describing is this: your class needs to create another
>> complex or costly object, which it then uses as an organ donor to
>> initialize (or assign) its own members. Perhaps, if the class
>> contained that complex or costly object instead of its organs would
>> be a better design and made this procedure unnecessary.
> Certainly one way (...) it's a workaround, not "better design."
> If the intermediate value is small / doesn't consume too many
> [E.g., (...)]
Would help to show what you mean ...
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.