You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you write a function with at least one parameter with default value
eg.
voidfoo(inta, intb=0)
{
}
it does not gets generated it's prototype in header file, which results in an unreferenced calls in project to that function. When you remove the default parameter
=0
the prototype shows in header file as expected.
The text was updated successfully, but these errors were encountered:
// prototypevoidfoo(int a, int b = 0);
// Implementation, better place inside a .cpp or marke the prototype above as static inlinevoidfoo(int a, int b)
{
}
When you write a function with at least one parameter with default value
eg.
it does not gets generated it's prototype in header file, which results in an unreferenced calls in project to that function. When you remove the default parameter
the prototype shows in header file as expected.
The text was updated successfully, but these errors were encountered: