Article View: comp.std.c++
Article #1602Re: Initialization Question
From: Jason Merrill
Date: Fri, 04 Aug 1995 21:02
Date: Fri, 04 Aug 1995 21:02
17 lines
1021 bytes
1021 bytes
>>>>> Suresh Vaidyanathan <suresh@bird.printrak.com> writes: > Sometime ago, someone posted an example where the following > syntax for initialization: > T some_t(Initial_Value); > would not work, and you were forced to use the other technique: > T some_t = Initial_Value; > Can someone (not necessarily the same one) please repost this! A a(A()); // declares a function taking and returning A A a = A(A()); // declares an object Jason
Technical Details
Message-ID:
<u9lot9mlh1.fsf@phydeaux.cygnus.com>Path:
arc1-ca.pugleaf.net!cygnus.com!usenetReferences:
<3vto08$fhu@bird.printrak.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cygnus.com!usenet From: jason@cygnus.com (Jason Merrill) Newsgroups: comp.std.c++ Subject: Re: Initialization Question Date: 04 Aug 1995 14:02:02 -0700 Organization: Cygnus Support, Mountain View, CA Sender: jason@phydeaux.cygnus.com Message-ID: <u9lot9mlh1.fsf@phydeaux.cygnus.com> References: <3vto08$fhu@bird.printrak.com> NNTP-Posting-Host: phydeaux.cygnus.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII In-reply-to: suresh@bird.printrak.com's message of 4 Aug 1995 11:13:28 -0700 X-Newsreader: (ding) Gnus v0.98.4