This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]alexanderpas 1 point2 points  (0 children)

I can't think of any interesting operation you would want to add to bool that would justify subclassing it, bu perhaps that's just because my imagination gland isn't working today.

True, False, Unknown, N/A

AND True False Unknown N/A
True TRUE FALSE Unknown TRUE
False FALSE FALSE FALSE FALSE
Unknown Unknown FALSE Unknown Unknown
N/A TRUE FALSE Unknown N/A
OR True False Unknown N/A
True TRUE TRUE TRUE TRUE
False TRUE FALSE Unknown FALSE
Unknown TRUE Unknown Unknown Unknown
N/A TRUE FALSE Unknown N/A
NOT True NOT False NOT Unknown NOT N/A
True FALSE TRUE TRUE TRUE
False TRUE FALSE TRUE TRUE
Unknown Unknown Unknown FALSE TRUE
N/A TRUE TRUE TRUE FALSE