The Next Great Migration: From C++ to Standard C++
By Al Stevens
Dr. Dobb's Journal September 1998
<b>(a)</b> #include <windef.h> BOOL B = TRUE; bool b = B; // warning <b>(b)</b> #include <windef.h> void foo(BOOL b) { } void foo(bool b) { } void bar() { foo(TRUE); foo(true); }
Example 1: (a) Assigning BOOL to bool; (b) BOOL versus bool.
Copyright © 1998, Dr. Dobb's Journal