comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Generic type in package
Date: Sat, 22 Jan 2005 09:32:59 +0100
Date: 2005-01-22T09:32:59+01:00	[thread overview]
Message-ID: <1271662.J01agyF6ln@linux1.krischik.com> (raw)
In-Reply-To: 35cullF4ivogfU1@individual.net

Stefan Merwitz wrote:

> Hello,
> 
> I've seen the following type definition in a package-file (ads):
> 
> generic
>     type T is (<>);
> 
> this seems to allow comparing (smaller, greater or equal) of the type T.
> But I did not find this type definition ("(<>") in the Ada
> documentation. What are the differences to limited private and does this
>   constrict the usable data types for T?

No - its the "box" Read:

http://en.wikibooks.org/wiki/Programming:Ada:Special:box

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



      parent reply	other threads:[~2005-01-22  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 18:07 Generic type in package Stefan Merwitz
2005-01-21 18:22 ` Ludovic Brenta
2005-01-22  8:32 ` Martin Krischik [this message]
replies disabled

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