On 8/18/15 5:10 AM, "Marc =?UTF-8?B?U2Now7x0eiI=?= <[email protected]>"
wrote:
On Monday, 17 August 2015 at 22:34:36 UTC, Andrei Alexandrescu wrote:
On 8/17/15 2:51 PM, deadalnix wrote:
From the compiler perspective, the tag is much nicer. Compiler can use
jump table for instance.
The pointer is a more direct conduit to a jump table.
Not really, because it most likely doesn't point to where you need it,
but to a `TypeInfo` struct instead
No, in std.variant it points to a dispatcher function. -- Andrei