Can't use variadic arguments to functions that use templates
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Tue Jul 23 11:54:12 PDT 2013
On Tuesday, 23 July 2013 at 16:22:38 UTC, JS wrote:
> On Tuesday, 23 July 2013 at 16:15:03 UTC, Jesse Phillips wrote:
>> On Tuesday, 23 July 2013 at 14:03:01 UTC, JS wrote:
>>> I don't think you understand(or I've already got confused)...
>>>
>>> I'm trying to use B has a mixin(I don't think I made this
>>> clear). I can't use it as a normal function. e.g., I can't
>>> seem to do mixin(B(t)). If I could, this would definitely
>>> solve my problem.
>>...[Code]...
> What good does that do?
>
> What if I want to use a run-time variable in the mix?
Ah, I understand now you're interested in:
string concat(alias Data...)() { ... }
This does not exist, but maybe it should... I don't know of a
workaround to get this behavior.
More information about the Digitalmars-d-learn
mailing list