comp.lang.ada
 help / color / mirror / Atom feed
* Creating a generic package with and setting its type to that of a record
@ 2016-09-28  1:02 Andrew Shvets
  2016-09-28  2:08 ` Jeffrey R. Carter
  2016-09-28  6:15 ` Simon Wright
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Shvets @ 2016-09-28  1:02 UTC (permalink / 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?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-29  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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