Why D functions paramter can not implicit infer type of Variant?
Marcone
marcone at email.com
Wed Jan 13 16:17:02 UTC 2021
import std;
void a(int b){
}
void main()
{
Variant c = 10;
a(c); // Error
}
Need more sugar.
More information about the Digitalmars-d-learn
mailing list