SiegeLord / Tango-D2

A port of the Tango library to D2
http://siegelord.github.com/Tango-D2/
Other
90 stars 38 forks source link

64bits update to tango.core.Traits and tango.util.container.Slink #68

Open bitcuits opened 10 years ago

bitcuits commented 10 years ago

The function staticArraySize now calculates the size of the array from the size of the Element in the array instead of the (T.ptr) which sometimes seem to be the size of void in 64bits.

And the function Slink.nth(int n) is change to Slink.nth(size_t n) which more compatible with 32/64bits system.

SiegeLord commented 10 years ago

Err... could you make a new branch off of d2port branch with just the commits you want merged?

bitcuits commented 9 years ago

I have added some small changes to tango.util.container. Some member function has checked from mutable to const or inout, this makes it more convenient to use in const functions. StackMap can now grow. Which also makes it more usable.