Pretty please: Named arguments
spir
denis.spir at gmail.com
Mon Feb 28 09:53:27 PST 2011
On 02/28/2011 03:55 PM, Michel Fortin wrote:
> On 2011-02-28 09:34:30 -0500, spir <denis.spir at gmail.com> said:
>
>> So, let's use ':'.
>
> Note however that ':' already has a meaning in templates arguments. Using ':'
> for named function arguments would preclude having named template arguments (or
> force template arguments to use yet another syntax).
Yes, I'm aware of that. This usage in fact conflicts with the general
"subtyping" semantics of ':'. But this conflict already exists with the usage
of ':' in dyn array notation, which is linguistically pretty close to a named
argument set; so...
Denis
--
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d
mailing list