Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c++ Subject: Re: Initializing objects on the heap Message-ID: <5382@alice.uUCp> Date: Fri, 2-May-86 15:19:22 EDT Article-I.D.: alice.5382 Posted: Fri May 2 15:19:22 1986 Date-Received: Sat, 3-May-86 20:17:28 EDT Organization: Bell Labs, Murray Hill Lines: 11 > The only way I know to put an initialized object onto the heap is: > foo * fp = new foo; > foo f ( init ); > *fp = init; Can't you say: foo * fp = new foo (init); ?