Thread overview | |||||
---|---|---|---|---|---|
|
February 17, 2010 [phobos] call variadic function with _argptr | ||||
---|---|---|---|---|
| ||||
I have tried to write function spawn(fn, ...) as variadic function but could not find any way to call a function providing arguments type information and values (_arguments, _argptr). I wonder if there is any way/workaround to do it (in runtime, no templates). -Igor |
February 17, 2010 [phobos] call variadic function with _argptr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Igor Lesik | I think there are better places to ask such questions, e.g. digitalmars.d and digitalmars.d.learn.
Thanks,
Andrei
Igor Lesik wrote:
> I have tried to write function spawn(fn, ...) as variadic function but could not
> find any way to call a function providing arguments type information and values
> (_arguments, _argptr). I wonder if there is any way/workaround to do it
> (in runtime, no templates).
>
> -Igor
>
>
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
|
February 17, 2010 [phobos] call variadic function with _argptr | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | ok, I see, thanks ----- Original Message ---- From: Andrei Alexandrescu <andrei at erdani.com> To: Discuss the phobos library for D <phobos at puremagic.com> Sent: Wed, February 17, 2010 8:04:31 AM Subject: Re: [phobos] call variadic function with _argptr I think there are better places to ask such questions, e.g. digitalmars.d and digitalmars.d.learn. Thanks, Andrei Igor Lesik wrote: > I have tried to write function spawn(fn, ...) as variadic function but could not > find any way to call a function providing arguments type information and values > (_arguments, _argptr). I wonder if there is any way/workaround to do it > (in runtime, no templates). > > -Igor > > > > _______________________________________________ > phobos mailing list > phobos at puremagic.com > http://lists.puremagic.com/mailman/listinfo/phobos _______________________________________________ phobos mailing list phobos at puremagic.com http://lists.puremagic.com/mailman/listinfo/phobos |
Copyright © 1999-2021 by the D Language Foundation