Array!bool and size_t

Nicolas Sicard dransic at gmail.com
Tue May 15 02:44:54 PDT 2012


The implementation of std.container.Array!bool makes use of ulong 
instead of size_t as far as sizes and indices are concerned. This 
makes Array!bool inconsistent with other array-like types 
(including Array!T if !is(T==bool)) in 32-bit code. What would be 
the disadvantages of using size_t?

Thanks,
Nicolas



More information about the Digitalmars-d mailing list