I know that we must send reference to reference and we couldn't do like this:
void f (double& a);
f(10.1); // error
But we already have a project that send value instead of reference and it's compile with MSVC2017. How is this possible ?
I know that we must send reference to reference and we couldn't do like this:
void f (double& a);
f(10.1); // error
But we already have a project that send value instead of reference and it's compile with MSVC2017. How is this possible ?