named arguments (C++) - Something D could learn from

Kagamin spam at here.lot
Wed Dec 19 13:30:57 UTC 2018


On Friday, 14 December 2018 at 20:13:42 UTC, bauss wrote:
> In C++ you can achieve named arguments using templates and 
> operator overload:
>
> It's sad that D is still against having named arguments, but 
> it's possible in something that D thrives to be better than.
>
> https://www.fluentcpp.com/2018/12/14/named-arguments-cpp/

https://blog.jetbrains.com/dotnet/2018/11/27/inline-parameter-name-hints-c-vb-net-resharper-rider/ resharper 2018 just overlays parameter names right in editor window.


More information about the Digitalmars-d mailing list