Template conflict with Function

bearophile bearophileHUGS at lycos.com
Wed Feb 13 05:41:55 PST 2008


Kirk McDonald:
> int foo()(int i) {
> }
> That is, make it another, second function template, with no template parameters.

If not already present, I think this little trick deserves to go into the D docs :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list