convert interger to pointer

Mike vertex at gmx.at
Sat Jun 28 19:05:02 PDT 2008


On Sun, 29 Jun 2008 03:35:03 +0200, Moritz Warning <moritzwarning at web.de>  
wrote:

> Is it possible to circumvent the type system and convert an integer to a
> pointer or class type? They won't ever be dereferenced, of course.

union
{
     int integer;
     void *pointer;
}


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list