From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: user-defined type conversion
Date: Mon, 20 May 2002 14:27:27 -0500
Date: 2002-05-20T14:27:27-05:00 [thread overview]
Message-ID: <ueijgda3piaf86@corp.supernews.com> (raw)
In-Reply-To: bebbba07.0205191933.79195253@posting.google.com
Russ <18k11tm001@sneakemail.com> wrote in message ...
>It should work fine that way, except that Ada doesn't allow the same
>name to be used for a type and a function. I contend that there is no
>inherent reason that it shouldn't. I don't see how it is possible for
>the compiler to confuse a type with a function. If Ada allowed that, I
>could write my own type/unit conversions that have the same syntax as
>built-in type conversions.
I had this same idea for Ada 200y back in January and proposed it to the
ARG. It was discussed extensively on Ada-Comment. It doesn't work (too
incompatible), it isn't going to happen. To read why, look at the AC for
it:
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AC-00026.TXT
Randy Brukardt
ARG Editor
next prev parent reply other threads:[~2002-05-20 19:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-19 7:44 user-defined type conversion Russ
2002-05-19 8:54 ` martin.m.dowie
2002-05-19 10:44 ` David C. Hoos, Sr.
2002-05-19 18:29 ` Russ
2002-05-19 20:58 ` David C. Hoos, Sr.
2002-05-19 21:12 ` Jeffrey Carter
2002-05-21 9:18 ` Dmitry A. Kazakov
2002-05-19 19:01 ` sk
2002-05-20 3:33 ` Russ
2002-05-20 19:27 ` Randy Brukardt [this message]
2002-05-20 19:45 ` David C. Hoos
2002-05-19 21:17 ` Jeffrey Carter
2002-05-20 3:25 ` Russ
2002-05-20 6:21 ` Jeffrey Carter
2002-05-21 9:30 ` Dmitry A. Kazakov
[not found] ` <mailman.1021892102.6644.comp.lang.ada@ada.eu.org>
2002-05-20 19:26 ` Russ
2002-05-21 9:35 ` Dmitry A. Kazakov
2002-05-22 4:32 ` Russ
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox