From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 16 Nov 92 16:11:24 GMT From: sdd.hp.com!cs.utexas.edu!convex!sercely@hplabs.hpl.hp.com (Ron Sercely) Subject: Re: HELP! Input/Output of private types Message-ID: <1992Nov16.161124.4781@convex.com> List-Id: You must add a subprogram specification to the generic declration that will actually do the I/O. You create this I/O procedure in the normal way, then instantiate the generic with this procedure. If you are going to have LOTS of instantiations this indeed can be a pain, because you will have to create the I/O procedure for each instantiation. This is an example where and Ada pre-processor may be useful to you. Ron Sercely