October 17, 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.
Top | Discussion index | About this forum | D home