Menu

#22 bool isn't used for Boolean even where available

v0.2
open
3
2004-01-22
2004-01-22
No

Even though bool may be available the converted code
doesn't use it and uses the Boolean subclass of int
instead.

Code could check to see if bool is supported and
redefine Boolean to be bool.

Could also have a conversion time option to go directly
to bool rather than through the Boolean class.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB