On Fri, 02 Sep 2011 22:11:50 +0300, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:

So maybe this type of conversion is impossible in the first place due
to how arguments are passed?

Yes. The default value is pushed on the stack at the call site.

 I don't know all the technical tidbits,
but from a user's point of view an implicit conversion kind of makes
sense (if it's possible).

The compiler would need to generate a function to do the conversion. I think the same could be achieved with a template.

--
Best regards,
 Vladimir                            mailto:vladi...@thecybershadow.net

Reply via email to