Partially instantiating templates?
Magnus Lie Hetland
magnus at hetland.org
Tue Feb 1 01:11:53 PST 2011
On 2011-01-31 22:21:40 +0100, bearophile said:
> Magnus Lie Hetland:
[snip]
>> I'm accustomed to is the ability to
>> assign to multiple variables, such as
>>
>> arg, val = minArg(...)
>>
>> (Yeah, I'm a Python guy... ;)
>
> I will eventually add a detailed enhancement request on this topic.
Great! I think this is really useful -- also for swapping things around
(a, b = b, a). For multiple return values it makes a huge difference,
IMO.
--
Magnus Lie Hetland
http://hetland.org
More information about the Digitalmars-d-learn
mailing list