preparing for const, final, and invariant
Walter Bright
newshound1 at digitalmars.com
Fri May 18 11:19:31 PDT 2007
Manuel König wrote:
> I think he is concerning to the scope rule. When 'f' gets called with
> 'g' as param, then 'a' has implicitly a reference to 'g', namely in
> a[0]. This would be a violation of the scope rule.
Passing things through void* is a way of escaping the type checking, and
if you break the rules by doing so, your program might break.
More information about the Digitalmars-d-announce
mailing list