A Problem with the Module Scope Operator

Karen Lanrap karen at digitaldaemon.com
Tue Oct 17 15:14:32 PDT 2006


int field=1;
struct S
{
    int field;
}
S v;


int foo(int p1, int p2=0)
{
    //...
}

int bar()
{
    //...
    foo(v. field)
    //...
}

I needed too much time to find my typo.



More information about the Digitalmars-d mailing list