Wouldn't it make sense if this would be possible? It would shorten the function interface in cases, where no specialization of m is needed but still makes it possible to override.

myfunc(myObj o, myType m = o.getmyTypeValue()){...}

The compiler complains, that o is an undefined identifier.

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to