From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d823af2a83b09053 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-zh.switch.ch!irazu.switch.ch!switch.ch!news.belwue.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Generic type in package Date: Sat, 22 Jan 2005 09:32:59 +0100 Organization: None Message-ID: <1271662.J01agyF6ln@linux1.krischik.com> References: <35cullF4ivogfU1@individual.net> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1106383906 00 4628 Bj6vreNlpRESSdTH 050122 08:51:46 X-Complaints-To: usenet-abuse@t-online.de X-ID: TFdKbQZvgel0gTE16h6seHC34EEt-bMVrA8QMWpRqe-Ixa6whcmF45 User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7935 Date: 2005-01-22T09:32:59+01:00 List-Id: 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