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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.159.48.84 with SMTP id i20mr1990438uab.6.1475024563688; Tue, 27 Sep 2016 18:02:43 -0700 (PDT) X-Received: by 10.157.8.10 with SMTP id 10mr2072894oty.16.1475024563494; Tue, 27 Sep 2016 18:02:43 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!w41no33229qtw.1!news-out.google.com!w143ni164itb.0!nntp.google.com!l13no53564itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 27 Sep 2016 18:02:43 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:8350:6600:6aff:fe37:6bdc; posting-account=3pYsyQoAAACcI-ym7XtMOI2PDU8gRZS5 NNTP-Posting-Host: 2601:18f:900:8350:6600:6aff:fe37:6bdc User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Creating a generic package with and setting its type to that of a record From: Andrew Shvets Injection-Date: Wed, 28 Sep 2016 01:02:43 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31911 Date: 2016-09-27T18:02:43-07:00 List-Id: 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?