Passing null array to template
Jesse Phillips
jessekphillips+D at gmail.com
Mon Jul 18 10:43:07 PDT 2011
I'm wondering if this should be filed in Bugzilla. I'm guessing it should. The blow should compile?
void main() {
example(null);
}
void example()(string[] foo) {
}
test.d(3): Error: template test.example() does not match any function template
declaration
test.d(3): Error: template test.example() cannot deduce template function from
argument types !()(void*)
More information about the Digitalmars-d-learn
mailing list