P
puzzlecracker
not sure of the stardard: which one is right, if both which one is
preferable?
class FOO{
void foo(const string &, const string &username="true");
.....
}
void FOO::foo(const string & cycle, const string &username="true")
{
........
};
OR
class FOO{
void foo(const string &, const string &);
.....
};
void FOO::foo(const string & cycle, const string &username="true")
{
........
}
thx
preferable?
class FOO{
void foo(const string &, const string &username="true");
.....
}
void FOO::foo(const string & cycle, const string &username="true")
{
........
};
OR
class FOO{
void foo(const string &, const string &);
.....
};
void FOO::foo(const string & cycle, const string &username="true")
{
........
}
thx