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.3 required=5.0 tests=BAYES_00,INVALID_MSGID
autolearn=no autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,d0452dbe16ac0df4
X-Google-Attributes: gid103376,public
From: tmoran@bix.com
Subject: Re: ObjectAda vs Gnat -- bugs
Date: 1997/05/19
Message-ID: <5loibn$qek@lotho.delphi.com>#1/1
X-Deja-AN: 242336399
Organization: Delphi Internet Services
Newsgroups: comp.lang.ada
Date: 1997-05-19T00:00:00+00:00
List-Id:
So if I wanted to make some reusable object with the characteristics:
constant once created
creation requires info not conveniently done with discriminants
limited
one approach would be to make the type T limited and tell users to declare
X : T renames Create(...);
Right?