3 variant questions

Daniel Keep daniel.keep.lists at gmail.com
Tue May 12 04:48:12 PDT 2009



Saaa wrote:
> ...
>> var_arg!(T) will convert _argptr into the type you specify and it will
>> also advance _argptr to the next argument.
> What would happen if you'd cast it incorrectly if it wasn't a simple pointer 
> ? :D

Same as would happen if you incorrectly cast anything.

i.e. anything.  Segfault if you're lucky.  If you're unlucky, random
crashes.

  -- Daniel


More information about the Digitalmars-d-learn mailing list