comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <david@botton.com>
Subject: Re: Ada Procedure Parameters That Use the Plus Sign
Date: Thu, 11 Jun 2015 11:52:26 -0700 (PDT)
Date: 2015-06-11T11:52:26-07:00	[thread overview]
Message-ID: <8f593c2d-c1d3-439e-972e-8827c0f57403@googlegroups.com> (raw)
In-Reply-To: <9c5f2b01-edde-4521-beb7-867cba9526d9@googlegroups.com>

Line 7 :
" The operators "+" and "-" are both unary and binary operators, and hence may be overloaded with both one- and two-parameter functions. "

A := +C;

is valid if you override the unary operator.

A := C +;

I know of know valid way to make that a legal Ada statement.


David Botton


  reply	other threads:[~2015-06-11 18:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 17:24 Ada Procedure Parameters That Use the Plus Sign NiGHTS
2015-06-11 17:36 ` David Botton
2015-06-11 18:21   ` NiGHTS
2015-06-11 18:52     ` David Botton [this message]
2015-06-12  8:00 ` Dmitry A. Kazakov
2015-06-12  8:45 ` Jacob Sparre Andersen
2015-06-12 15:19 ` NiGHTS
replies disabled

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