Re: Dot notation in Ada 2005
- From: "Marc Enzmann" <Marc.Enzmann@xxxxxx>
- Date: 22 May 2006 01:19:42 -0700
Hm, somewhat familiar. Something like
type My_Private_Class is private;
...
procedure Do_Something (Argument : in out My_Private_Class);
...
private
type My_Private_Class is tagged record
...
end record;
...
can be called by
...
An_Argument : My_Private_Class;
...
Do_Something (An_Argument);
...
but not by
...
An_Argument.Do_Something;
However, if My_Private_Class is not declared as private, then anything
goes....
What am I missing ???
(BTW: using gcc version 3.4.5 20050524 (prerelease) for GNAT GPL 2005
under Mac OS 10.4)
.
- Follow-Ups:
- Re: Dot notation in Ada 2005
- From: christoph . grein
- Re: Dot notation in Ada 2005
- References:
- Dot notation in Ada 2005
- From: Philippe Tarroux
- Re: Dot notation in Ada 2005
- From: Martin Carlisle
- Re: Dot notation in Ada 2005
- From: Philippe Tarroux
- Dot notation in Ada 2005
- Prev by Date: Re: Dot notation in Ada 2005
- Next by Date: Re: Dot notation in Ada 2005
- Previous by thread: Re: Dot notation in Ada 2005
- Next by thread: Re: Dot notation in Ada 2005
- Index(es):
Relevant Pages
|
|