Get difficulties with variadics

Flamaros flamaros.xavier at gmail.com
Sat May 11 06:00:41 PDT 2013


On Saturday, 11 May 2013 at 01:48:12 UTC, evilrat wrote:
> On Friday, 10 May 2013 at 21:11:57 UTC, Flamaros wrote:
>>
>> In the load(...) method I am getting filePath without issue, 
>> but for next parameters I am little confused on how to do.
>
> what all that stuff in ur load method? O_O
>
> look at my example in this thread, that at least should give 
> you idea on how get related types from it - 
> http://forum.dlang.org/thread/kmepi8$1tjp$1@digitalmars.com

I think my major mistake is to call load method with _arguments 
in my ResourceManager:

instance.load(filePath, _arguments);

Passing _argptr doesn't seems to be the right solution neither, 
because I am receiving a void* in the load method of my Resource 
object instead of a ushort[].


More information about the Digitalmars-d-learn mailing list