comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Problem with generic package
Date: Tue, 15 Apr 2014 14:27:43 -0700 (PDT)
Date: 2014-04-15T14:27:43-07:00	[thread overview]
Message-ID: <9f51076f-71cf-4735-a930-6021946491e8@googlegroups.com> (raw)
In-Reply-To: <1807366a-55d8-4d47-953c-d857f69a3306@googlegroups.com>

On Tuesday, April 15, 2014 2:12:07 PM UTC-7, Laurent wrote:

> Tried to use my array_generics in some test program. 
> 
> error: invalid prefix in selected component "Array_Generics"

>  ==>  function Search_Float is new Array_Generics.Search_Generic
>      (List_Type => Float_Vector, Index_Type => Index, Element_Type => Float); 

You can only instantiate Array_Generics.  Search_Generic is not a generic.

                            -- Adam

  reply	other threads:[~2014-04-15 21:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-15 18:26 Problem with generic package Laurent
2014-04-15 19:36 ` Adam Beneschan
2014-04-15 19:44 ` Adam Beneschan
2014-04-15 20:12   ` Laurent
2014-04-15 20:37     ` Adam Beneschan
2014-04-15 20:43     ` Eryndlia Mavourneen
2014-04-15 20:47       ` Eryndlia Mavourneen
2014-04-15 21:28     ` Georg Bauhaus
2014-04-15 20:41 ` Simon Wright
2014-04-15 21:12   ` Laurent
2014-04-15 21:27     ` Adam Beneschan [this message]
2014-04-15 21:58       ` Laurent
2014-04-15 22:03         ` Adam Beneschan
2014-04-16  6:03         ` Georg Bauhaus
2014-04-16 20:37           ` Laurent
2014-04-16 21:13             ` Mike H
2014-04-16 22:31               ` Randy Brukardt
2014-04-16 23:06               ` Jeffrey Carter
2014-04-15 22:14     ` Simon Wright
2014-04-16 18:49       ` Laurent
replies disabled

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