digitalmars.D.learn - Why constructs can not be private?
- Caligo (19/19) Mar 06 2012 module A;
module A;
private struct A { }
private A a;
private mixin template magic() { }
private void foo() { }
//---------------------
module B;
import A;
void main() {
}
struct B{
}
What's the point of declaring struct A private if it's not going to
behave as such?  is this another bug in DMD?  I want template mixin
magic to not be accessible outside module A.  Would that be possible?
 Mar 06 2012








 
  
  
  Caligo <iteronvexor gmail.com>
 Caligo <iteronvexor gmail.com>