Partially instantiating templates?

Magnus Lie Hetland magnus at hetland.org
Tue Feb 1 01:12:44 PST 2011


On 2011-01-31 19:46:53 +0100, Simen kjaeraas said:

> Magnus Lie Hetland <magnus at hetland.org> wrote:
> 
>> Hm. Using code quite similar to you, supplying a lambda in the second 
>> aliasing, I get this error:
>> 
>> something.d(93): Error: template instance cannot use local 
>> '__dgliteral2(__T3)' as parameter to non-global template optArg(alias 
>> fun)
[snip]
> 
> This is a bug. Please report it.

Ah -- OK. Will do.

-- 
Magnus Lie Hetland
http://hetland.org



More information about the Digitalmars-d-learn mailing list