Someone told me this is important to write:
if (10 == a.get())
{
}
instead of:
if (a.get() == 10)
{
}
Because C++ use pass-by-value for first parameter of ==
and use pass-by-reference for second parameter. Is this right ? and where is mentioned in c++ standard ?
Is order of objects important in conditional statements C++ ?