From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Limited_Controlled and out parameters
Date: Fri, 22 Jun 2012 18:58:31 +0200
Date: 2012-06-22T18:58:31+02:00 [thread overview]
Message-ID: <js287m$iv6$1@dont-email.me> (raw)
In-Reply-To: <08532996-7c1f-4521-b1fc-41a03e26fcce@googlegroups.com>
Le 22/06/2012 17:43, Adam Beneschan a �crit :
> I also wouldn't worry about "cheating". For by-reference parameters,
> I don't think there's that much difference between OUT and IN OUT, if
> any. [...]
From the point of view of the implementer, you are right. However, by
having an OUT parameter, you are telling your user: "I don't use the
value in your variable; even if it is uninitialized, it's OK".
There is some value to preserving that aspect.
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2012-06-22 16:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-22 13:37 Limited_Controlled and out parameters Maciej Sobczak
2012-06-22 15:43 ` Adam Beneschan
2012-06-22 16:58 ` J-P. Rosen [this message]
2012-06-22 19:12 ` Adam Beneschan
2012-06-22 21:41 ` Robert A Duff
2012-06-22 20:22 ` Randy Brukardt
2012-06-23 12:02 ` Maciej Sobczak
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox