Dart and D: features that could be used in D, D->dart for web programming

Timothee Cour thelastmammoth at gmail.com
Thu Feb 27 16:42:03 PST 2014


>
>
>
>  * better syntax for optional positional arguments:
>> void fun(int x, [int y, int z=3]){...}
>> Thinking of which, this would actually solve a long standing problem in
>> D, that
>> of specifying optional parameters AFTER a variadic template:
>> void fun(T...)(T args, [string file=__FILE__,int line=__LINE__]){...}
>>
>
> Not sure what that is.
>

http://d.puremagic.com/issues/show_bug.cgi?id=8687 : Variadic templates do
not work properly with default arguments




>  * export for libraries
>>
>
> What does that mean?
>

http://wiki.dlang.org/DIP45
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140227/bdf66772/attachment.html>


More information about the Digitalmars-d mailing list