On 4/6/14, Gustavo <gbusc...@hotmail.com> wrote: > In the page http://dlang.org/type.html I believe there is a typo > stating that bool is 1 byte instead of 1 bit.
static assert(byte.sizeof == 1); // 1 *byte*
On 4/6/14, Gustavo <gbusc...@hotmail.com> wrote: > In the page http://dlang.org/type.html I believe there is a typo > stating that bool is 1 byte instead of 1 bit.
static assert(byte.sizeof == 1); // 1 *byte*