Method template optimization that works in C++, but not very well D
Vladimir
v.s.zverev at gmail.com
Wed Feb 19 21:42:53 PST 2014
On Wednesday, 19 February 2014 at 15:40:41 UTC, bearophile wrote:
> ... In generale in D the name of functions and variabiles start
> with a lower case....
I apologize that I did not checked the style guide. I rewrote my
example according yours recommendation. Thank you.
> alias TypeTuple(Types...) = Types;
This does not work for me.
Error: function declaration without return type. (Note that
constructors are always named 'this')
Error: no identifier for declarator TypeTuple(T...)
Error: alias cannot have initializer
More information about the Digitalmars-d-learn
mailing list