About the "write once": i agree, it's a valuable feature of D, regarding CTFE. But there are many times, where a function can be made to be much faster if some of it's arguments are known at compile-time. Writing those kind of functions involves having lots of different kind of templates with non-uniform syntax. Being able to call a function uniformly and choose it's implementation, based on it's arguments being compile-time allows to simplify both the definition and the usage of such functions. How's that gonna introduce complications?
- Re: compile-time explicitne... Timon Gehr
- Re: compile-time explicitne... Steven Schveighoffer
- Re: compile-time explicitne... Andrej Mitrovic
- Re: compile-time explicitne... Andrej Mitrovic
- Re: compile-time explicitne... Steven Schveighoffer
- Re: compile-time explicitne... Andrej Mitrovic
- Re: compile-time explicitness Jonathan M Davis
- Re: compile-time explicitness Gor F. Gyolchanyan
- Re: compile-time explicitness Timon Gehr
- Re: compile-time explicitness Andrej Mitrovic
- Re: compile-time explicitness Gor F. Gyolchanyan
- Re: compile-time explicitness Daniel Murphy
- Re: compile-time explicitness Gor F. Gyolchanyan
- Re: compile-time explicitness Jesse Phillips
- Re: compile-time explicitness Gor F. Gyolchanyan
- Re: compile-time explicitness Jonathan M Davis
- Re: compile-time explicitness Gor F. Gyolchanyan
- Re: compile-time explicitness Christophe
- Re: compile-time explicitness Gor F. Gyolchanyan