comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Vector (container) initialization: the schizophrenic ampersand
Date: Fri, 18 May 2012 18:44:57 -0400
Date: 2012-05-18T18:44:57-04:00	[thread overview]
Message-ID: <wcc1umhds7q.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: ec0f19ed-e243-40b1-99a7-a27351307316@googlegroups.com

Shark8 <onewingedshark@gmail.com> writes:

> On Friday, May 18, 2012 8:31:59 AM UTC-5, Robert A Duff wrote:
>>
>> IMHO, a qualified expression is the elegant (and usual)
>> way to resolve ambiguities.  Renaming "&" to be "+" just
>> seems confusing, to me.
>> 
>> - Bob
>
> Isn't that the whole point of having the qualified expression, to tell
> the compiler "this is the type for this ambiguous operation"?

Yes, exactly.

Although qualified expressions also do some run-time checks, so
it's not the whole point, but the main point.

- Bob



  reply	other threads:[~2012-05-18 22:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 20:20 Vector (container) initialization: the schizophrenic ampersand Marius Amado-Alves
2012-05-17 20:24 ` Jeffrey Carter
2012-05-17 20:26 ` Pascal Obry
2012-05-17 23:33 ` Adam Beneschan
2012-05-18  6:34   ` Marius Amado-Alves
2012-05-18  6:51   ` Marius Amado-Alves
2012-05-18 13:31     ` Robert A Duff
2012-05-18 18:55       ` Shark8
2012-05-18 22:44         ` Robert A Duff [this message]
2012-05-19  9:03       ` Marius Amado-Alves
2012-05-19 16:15         ` Robert A Duff
2012-05-21 16:02           ` Adam Beneschan
2012-05-21 17:04             ` Robert A Duff
2012-05-21 17:57               ` Adam Beneschan
2012-05-21 15:57         ` Adam Beneschan
2012-05-19  9:28     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox