Boolean vs Bool - What's the difference?
boolean | bool |
Of or pertaining to the work of .
(logic, computing) Pertaining to data items that can have “true” and “false” (or, equivalently, respectively) as their only possible values and to operations on such values.
(computing, programming) A Boolean variable, one whose value is either true or false.
* 2000 , Mark A DeLoura, Game programming gems
* 2000 , Herb Sutter, Exceptional C++
* 2007 , Joseph C Rattz, Pro LINQ: Language Integrated Query in C# 2008
As nouns the difference between boolean and bool
is that boolean is (boolean) while bool is (computing|programming) a boolean variable, one whose value is either true or false.As an adjective boolean
is (boolean).boolean
English
(wikipedia Boolean)Adjective
(-)Derived terms
* Boolean algebra * Boolean function * Boolean logic * Boolean ring * Boolean variableSynonyms
* (Boolean variable) flagbool
English
Noun
(en noun)- The base class
BitArrayacts just like a normal C++ array of bools , although you are of course free to interpret the bits as integers...
- With an automatic conversion, bools will interfere with overload resolution...
- Listing 7-11 shows an example where the initial data type is string, but I will obtain its value as a bool .
