nice! But for some reason I believe this would work for argumentfunctionsdouble f(quantity<si::length> v){ return 1.;}...quantity<cgs::lengh> A = 4.*cgs::centimeterf(A); // doesn't work! not matching functionwhy is this? isn't the argument of the call a sort of constructionargument for the function argument, or is more like a plainassignment. Is there a way to force the automatic conversion of thefunction call.Or I am forced to use this other long call?f(quantity<si::length>(A));
Yes. The constructor is explicit.