This:
double b = 1.0;
Variant[string] aa = ["b": &b];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":&b]) of type
double*[string] to VariantN!20u[string]
Helps please!
Enjoys Math via Digitalmars-d-learn Mon, 08 Feb 2016 19:52:19 -0800
This:
double b = 1.0;
Variant[string] aa = ["b": &b];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":&b]) of type
double*[string] to VariantN!20u[string]
Helps please!