What would be the consequence of implementing interfaces as fat pointers ?
Michel Fortin
michel.fortin at michelf.ca
Tue Apr 1 04:50:47 PDT 2014
On 2014-04-01 05:39:04 +0000, Manu <turkeyman at gmail.com> said:
> The point is, it's impossible to bank on pointers being either 32 or 64
> bit. This leads to #ifdef's at the top of classes in my experience. D is
> not exempt.
Doesn't align(n) work for class members? If it does not, it doesn't
seem it'd be hard to implement.
--
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca
More information about the Digitalmars-d
mailing list