private is _always_ module scope.
Ooops I meant private functions inside a module. I was wondering if that would be allowed:

module a;
public auto aFunc( T )( T t ) { cantSeeMe( t ); }
private auto canSeeMe( SomeType t ) { ... }

module b;
import a;
alias a.canSeeMe canSeeMe
public auto canSeeMe( SomeOtherType t ) { ... } //Can this be called by afunc?

module c;

void main( ... ) {
  ...
  SomeOtherType t;
  t.aFunc();
  ...
}

If so, I am guessing it is made possible by said particularity?

Phil

Reply via email to