pointer array?

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 30 08:17:32 PDT 2014


On Wed, 30 Jul 2014 14:33:51 +0000, seany wrote:

> In Ali's excllent book, somehow one thing has escaped my attention, and
> that it the mentioning of pointer arrays.
> 
> Can pointers of any type of pointed variable be inserted in an int
> array? Using to!(int) perhaps? If not directly, then what else would
> achieve the same effect?

You can use an array of void*: http://dpaste.dzfl.pl/0d3ee1723192


More information about the Digitalmars-d-learn mailing list