Typo in Types page
Marco Leise
Marco.Leise at gmx.de
Mon Apr 7 01:40:37 PDT 2014
Am Mon, 7 Apr 2014 08:48:02 +0200
schrieb Andrej Mitrovic <andrej.mitrovich at gmail.com>:
> On 4/6/14, Gustavo <gbuschle at 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*
static assert(bool.sizeof == 1); // 1 *byte*
There I fixed it ;)
--
Marco
More information about the Digitalmars-d
mailing list