Re: Accessibility-check for GENERIC bindings' targets



Richard Maine wrote:
Daniel Kraft <d@xxxxxxxx> wrote:

Is the GENERIC binding invalid as it targets a PRIVATE specific binding?

No, that would not be a reason for it to be invalid.

If the code was valid, this would mean that any PRIVATE type-bound procedure can be made accessible by extending the type and defining there a PUBLIC GENERIC binding targetting it, wouldn't it?

Private things can be made accessible in many ways. It is a fundamental
error to think that the private atribute on something means that the
entity cannot be accessed outside of the module.

Thanks Richard, your explanation was exactly what I was looking for! I already supposed that the code was valid but wanted to get some opinions on it (as I wouldn't really claim I know F2003 well).

Yours,
Daniel

--
Done: Arc-Bar-Cav-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
To go: Hea-Kni-Mon-Pri-Ran-Rog-Tou
.