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