home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!gumby!wupost!cs.utexas.edu!convex!sercely
- From: sercely@convex.com (Ron Sercely)
- Subject: Re: HELP! Input/Output of private types
- Message-ID: <1992Nov16.161124.4781@convex.com>
- Sender: usenet@convex.com (news access account)
- Nntp-Posting-Host: cvxcs.cs.convex.com
- Organization: CONVEX Computer Corporation, Richardson, Tx., USA
- References: <Bxpwty.H8E@acsu.buffalo.edu>
- Date: Mon, 16 Nov 1992 16:11:24 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 10
-
-
- 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
-