On 05/16/2013 08:09 AM, Byron Heads wrote: > I am working on d-leveldb wrapper (https://github.com/bheads/d-leveldb) > and I need to be able to pass blocks of data between D and leveldb API. > I am having rouble getting the byte size of dynamic arrays and POD > classes. > > I can get the right size for 1D dynamic arrays, need a way to compute the > total size. > > POD Classes always give me the size of the ref, is it possible? > > -Byron
__traits(classInstanceSize, MyClass); ?
signature.asc
Description: OpenPGP digital signature