comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Generic instantiation with constrained subtype
Date: Sat, 23 Aug 2008 19:09:37 GMT
Date: 2008-08-23T19:09:37+00:00	[thread overview]
Message-ID: <RfZrk.255774$TT4.77223@attbi_s22> (raw)
In-Reply-To: <m2bpzjopjr.fsf@mac.com>

Simon Wright wrote:
> 
>       type T is new Base with private;

type T (<>) is new Base with private;

eliminates the compiler errors. It may not be suitable for your needs, however.

-- 
Jeff Carter
"Go and boil your bottoms."
Monty Python & the Holy Grail
01



  reply	other threads:[~2008-08-23 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23 12:59 Generic instantiation with constrained subtype Simon Wright
2008-08-23 19:09 ` Jeffrey R. Carter [this message]
2008-08-23 20:24   ` 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