From: Stefan Merwitz <thebiggestfan2002@yahoo.de>
Subject: Generic type in package
Date: Fri, 21 Jan 2005 19:07:30 +0100
Date: 2005-01-21T19:07:30+01:00 [thread overview]
Message-ID: <35cullF4ivogfU1@individual.net> (raw)
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?
Thanks in advance,
Stefan
next reply other threads:[~2005-01-21 18:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 18:07 Stefan Merwitz [this message]
2005-01-21 18:22 ` Generic type in package Ludovic Brenta
2005-01-22 8:32 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox