i previously thought that friend in pike makes no sense because it is
used to hide things from the public api. but that would not work in pike
because anyone could write a class that looks like A and then access the
hidden symbol anyways.

how ever in this case the goal is to hide it from the typechecker...

greetings, martin.

Reply via email to