comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: generic with function procedure
Date: Fri, 5 Jun 2020 17:59:13 +0200
Date: 2020-06-05T17:59:13+02:00	[thread overview]
Message-ID: <rbdq4e$15ar$1@gioia.aioe.org> (raw)
In-Reply-To: 8bda92fc-a4aa-46ee-a237-79d41858a8cbo@googlegroups.com

On 05/06/2020 17:45, Gilbert Gosseyn wrote:

> Please explain: "It depends on how you have defined g1 and h1...". The functions g1 and h1 are defined in the same manner a f1.

Surely

   function f (v : Real_Vector) return Real;

will never match

   function g (j : Integer; v : Real_Vector) return Real;

P.S. Always post compile-ready code.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2020-06-05 15:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05 14:35 generic with function procedure Gilbert Gosseyn
2020-06-05 14:52 ` gautier_niouzes
2020-06-05 15:45   ` Gilbert Gosseyn
2020-06-05 15:59     ` Dmitry A. Kazakov [this message]
2020-06-05 16:09       ` Anh Vo
2020-06-05 20:28     ` Jeffrey R. Carter
2020-06-09 16:44 ` Shark8
2020-06-10  8:21   ` Gilbert Gosseyn
2020-06-10  8:45     ` AdaMagica
2020-06-12 14:29     ` Shark8
2020-06-12 16:45     ` Simon Wright
2020-06-12 18:49       ` Simon Wright
replies disabled

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