Didn't knew about D.learn :) - I'll head over there, to ask questions alike this one, instead of polluting here.
the bit type in D1, is just an alias for bool I take it, for backwards compatibility`? - is it deprecated?
Yet again, thanks you :)
On 23 September 2010 00:32, bearophile
<bearophileHUGS@lycos.com> wrote:
Emil Madsen:
> Okay I'm interresting in getting more infomation about the bit[] type;
> - is it still implemented in D1? - and why was it removed?
> - is it possible to get a link to the design considerations of removing it,
> and such?
> - any source of info, on the design phase about it, will be in my interrest
D.learn is a better place to ask such questions.
In D1 now the bit type exists just as an alias.
I think it was removed because you can't get the address of a bit. D1 Phobos has functions in std.intrinsic to manage bit arrays, and D2 Phobos has a module that implements a bit array and a way to build struct bit fields.
Bye,
bearophile
--
// Yours sincerely
// Emil 'Skeen' Madsen