comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Generic abstract procedures
Date: 1999/10/14
Date: 1999-10-14T00:00:00+00:00	[thread overview]
Message-ID: <slrn80biot.19p.lutz@taranis.iks-jena.de> (raw)

Of course, RM 6-1(20) says:
    A subprogram_declaration or a generic_subprogram_declaration requires a
    completion: a body, a renaming_declaration (see 8.5), or a pragma Import
    (see B.1). A completion is not allowed for an
    abstract_subprogram_declaration.

Even RM 12-6(16) clarifies in Note (18):
    The actual subprogram cannot be abstract (see 3.9.3).

And so RM 3-9(11)
    A generic actual subprogram shall not be an abstract subprogram. ...

Does anybody knows a solution other than derivating the actual collection
from an abstract tagged type? Obviously I failed with a dumb generic attempt.
\f
But I love it.




             reply	other threads:[~1999-10-14  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-14  0:00 Lutz Donnerhacke [this message]
1999-10-14  0:00 ` Generic abstract procedures Matthew Heaney
1999-10-14  0:00   ` Lutz Donnerhacke
1999-10-14  0:00     ` Matthew Heaney
1999-10-14  0:00       ` Matthew Heaney
1999-10-15  0:00       ` Lutz Donnerhacke
replies disabled

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