From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Creating a generic package with and setting its type to that of a record
Date: Tue, 27 Sep 2016 19:08:59 -0700
Date: 2016-09-27T19:08:59-07:00 [thread overview]
Message-ID: <nsf8ng$dlb$1@dont-email.me> (raw)
In-Reply-To: <c941ba8e-f28c-4bcf-9e8a-13fa93031bda@googlegroups.com>
On 09/27/2016 06:02 PM, Andrew Shvets wrote:
> Lets say I have this code:
>
>
> generic
> type Custom_Record_Type is <>;
> package Gener is
> ...
>
>
> What I'd like to do is set the type to that of a record (which has some overloaded operators, such as >, < and =.) Can this be done? If so, how?
This is an invalid generic formal type definition, so you can't do anything with it.
--
Jeff Carter
"I did not rob a bank. If I'd robbed a bank, everything
would be great. I tried to rob a bank, is what happened,
and they got me."
Take the Money and Run
139
next prev parent reply other threads:[~2016-09-28 2:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-28 1:02 Creating a generic package with and setting its type to that of a record Andrew Shvets
2016-09-28 2:08 ` Jeffrey R. Carter [this message]
2016-09-28 2:15 ` Andrew Shvets
2016-09-28 6:15 ` Simon Wright
2016-09-28 21:38 ` Randy Brukardt
2016-09-29 7:57 ` 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