On Mon, Apr 19, 2010 at 21:20, Steven Schveighoffer <schveiguy@yahoo.com> wrote:

Here is a quick-and-dirty solution, if you don't mind using classes/interfaces. 
(snip)

I'm not used to using interfaces in this way. What become the stored T values when you cast the classes into IW to construct your array? I suppose they're lost?

Does that mean that if we have a bunch of T (all different types),you map a call to makeW on it, get back a bunch of WByVal!T (all different types), cast them to IW and... what? erase the types?


Philippe