Re: Tasking and wxWidgets
- From: "Randy Brukardt" <randy@xxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 21:07:54 -0600
"Martin Dowie" <martin.dowie@xxxxxxxxxxxxxxx> wrote in message
news:dma971$fvc$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> You won't need a preprocessor (although GNAT does have one 'gnatprep') -
> same spec, different bodies.
>
> -- Spec
> procedure Foo;
>
> -- Body
> procedure Foo is null;
While it's not germane to Martin's point, this code is illegal in Ada 200Y:
a null procedure cannot be a completion. Why not? Null procedures are
similar to abstract subprograms in use and description, and those clearly
can't be a completion. And it didn't seem worth a new bunch of rules to
avoid typing 12 characters - the least important savings that one could
imagine.
Randy Brukardt.
.
- Follow-Ups:
- Re: Tasking and wxWidgets
- From: Martin Dowie
- Re: Tasking and wxWidgets
- References:
- Tasking and wxWidgets
- From: Lucretia
- Re: Tasking and wxWidgets
- From: Martin Dowie
- Re: Tasking and wxWidgets
- From: Lucretia
- Re: Tasking and wxWidgets
- From: Martin Dowie
- Tasking and wxWidgets
- Prev by Date: Re: Discriminated types with default discriminants
- Next by Date: Re: Silly question about strings (was: Filenames in Ada)
- Previous by thread: Re: Tasking and wxWidgets
- Next by thread: Re: Tasking and wxWidgets
- Index(es):