- changed status to resolved
Mention that bool is a 1-bit integral type
Issue #24
closed
import std.stdio;
void foo(bool b) { writeln(b.stringof); }
void foo(ubyte i) { writeln(i.stringof); }
void main() { foo(0); // goes to bool foo(1); // goes to bool foo(2); // goes to ubyte }
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Fixed by 17fde1a