comp.lang.ada
 help / color / mirror / Atom feed
From: Andrew Shvets <andrew.shvets@gmail.com>
Subject: Creating a generic package with and setting its type to that of a record
Date: Tue, 27 Sep 2016 18:02:43 -0700 (PDT)
Date: 2016-09-27T18:02:43-07:00	[thread overview]
Message-ID: <c941ba8e-f28c-4bcf-9e8a-13fa93031bda@googlegroups.com> (raw)

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?


             reply	other threads:[~2016-09-28  1:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28  1:02 Andrew Shvets [this message]
2016-09-28  2:08 ` Creating a generic package with and setting its type to that of a record Jeffrey R. Carter
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