Re: ++ of C in ada
- From: "Marc A. Criley" <mcNOSPAM@xxxxxxxxx>
- Date: Mon, 25 Jul 2005 08:18:13 -0500
nicolas.b wrote:
How can i implement the operator ++ in ada :
type T_Ptr is access all T_Item; How can i implement : procedure Increment (Ptr : in out T_Ptr); thanks
See package Interfaces.C.Pointers. Section B.3.2 in the Ada LRM (http://www.adapower.com/rm95/RM-B-3-2.html).
Think twice before going with this approach, though. Is it really necessary, or are you just carrying through a C/C++ idiom?
-- Marc A. Criley -- www.mckae.com -- DTraq - XPath In Ada - XML EZ Out .
- References:
- ++ of C in ada
- From: nicolas.b
- ++ of C in ada
- Prev by Date: [Announce] AADL Workshop
- Next by Date: Re: Isn't this in favour of Ada??
- Previous by thread: Re: ++ of C in ada
- Next by thread: Re: ++ of C in ada
- Index(es):
Relevant Pages
|