Re: Extended 'Succ attribute?
Jérémie Lumbroso wrote:
I could of course define my own function to do this, but I wish to know
if there is a way to get Ada to do it itself.
No, but rather than write it yourself, you could simply instantiate
PragmARC.Wrapping.
http://pragmada.home.mchsi.com/
--
Jeff Carter
"We burst our pimples at you."
Monty Python & the Holy Grail
16
.
Relevant Pages
- Re: Inter-object pointer problem
... with an access type, but the Ptr_B doesnt exist until I have called ... If this were C I would instantiate A_Structure as a static ... This is so far from being correct Ada that it's impossible to tell what you're trying to do, but I'd suggest you pull the instantiation of B_Pkg out of the procedure. ... If you can provide a better example, with information such as the specifications of the packages and the definition of B_Pointer_Type, we can probably help you better. ... (comp.lang.ada) - Re: How to get around "access type must not be outside generic unit"
... how can you create a dangling pointer with ... Jean-Pierre explains it well. ... If you instantiate the generic inside a ... It should be noted that this rule dates back to Ada 95 (although it was ... (comp.lang.ada) - Re: Teaching new tricks to an old dog (C++ -->Ada)
... >>No. (Though you can mix recursive subprograms, nesting, and template ... In Ada, you cannot instantiate a generic within itself (as Marius ... (comp.lang.cpp) - Re: Teaching new tricks to an old dog (C++ -->Ada)
... >>No. (Though you can mix recursive subprograms, nesting, and template ... In Ada, you cannot instantiate a generic within itself (as Marius ... (comp.lang.ada) |
|