The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.c++.moderated
From: "Martin B." <0xCDCDC...@gmx.at>
Date: Thu, 26 Apr 2012 14:17:54 -0700 (PDT)
Local: Thurs, Apr 26 2012 5:17 pm
Subject: Re: Initialization and trivial constructors
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 ... cheers,
-- [ 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.
| ||||||||||||||