Implicit Constructors

jmh530 john.michael.hall at gmail.com
Fri Oct 13 14:43:41 UTC 2017


On Friday, 13 October 2017 at 14:37:25 UTC, Steven Schveighoffer 
wrote:
> [snip]
> However, this could be useful:
>
> foo(Variant v ...)
> {
> }
>
> foo(0);
> foo("hello");
> ...
>
> -Steve

You should be able to that with Adam's jsvar module, no? The 
issue is with
foo(0, "hello");


More information about the Digitalmars-d mailing list