View mode: basic / threaded / horizontal-split · Log in · Help
October 17, 2006
A Problem with the Module Scope Operator
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