On Wednesday, 4 September 2013 at 19:44:17 UTC, Namespace wrote:

What's about:

void bar(int i) {
    bar(Foo(i));
}

?

No, I wrote very simple example. I have 10 "from" types and a lot of different "bar" functions. Your way will be more painful then explicit conversion.

Reply via email to