comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: C++ to Ada95, help please
Date: Wed, 8 Mar 1995 13:56:58 GMT
Date: 1995-03-08T13:56:58+00:00	[thread overview]
Message-ID: <D54K2z.77u@world.std.com> (raw)
In-Reply-To: 3jjnru$e02@jerry.rb.icl.co.uk

In article <3jjnru$e02@jerry.rb.icl.co.uk>,
Simon Johnston <skj@rb.icl.co.uk> wrote:
>First I would like to declare an Opaque type, or in C++ a 'smiley'.  There
>are two uses for such a feature. ...

I'm not sure exactly what you're asking for, but perhaps you want to do
something like this:

    package P is
        type T is private;
    private
        type Rec; -- Incomplete type, completed in body.
        type T is access Rec;
    end P;

    package body P is
        type Rec is
            record
                ...
            end record;
    end P;

- Bob



  reply	other threads:[~1995-03-08 13:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-08  7:54 C++ to Ada95, help please Simon Johnston
1995-03-08 13:56 ` Robert A Duff [this message]
1995-03-09 21:23 ` Tucker Taft
  -- strict thread matches above, loose matches on Subject: below --
1995-03-20  8:06 Simon Johnston
1995-03-21 23:27 ` Kevin F. Quinn
1995-03-22  5:07   ` Vladimir Vukicevic
1995-03-22  1:22 ` Tucker Taft
1995-03-22 11:38   ` Robb Nebbe
1995-03-23 12:28   ` Mike Meier
1995-03-23 18:31     ` Tucker Taft
1995-03-24 21:24     ` Robert Dewar
1995-03-27 14:58       ` Norman H. Cohen
1995-03-23 13:30   ` Robert Dewar
1995-03-23 18:01 ` Stephen A. Leake
1995-03-24  9:07   ` Vladimir Vukicevic
1995-03-25 10:02     ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox