Template conflict with Function

Bill Baxter dnewsgroup at billbaxter.com
Wed Feb 13 15:15:11 PST 2008


bearophile wrote:
> 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 :-)

Until then there's always the Comments wiki page.

--bb


More information about the Digitalmars-d-learn mailing list