Boost logo

Boost Users :

From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-08-08 06:23:13


Serge Skorokhodov wrote:

>Just some follow-up explaining why I need tribool with 'unknown'
>indetermined state sematics:
>
>I'm working in a domain (HL7 v3) that explicetely contain a type
>of boolean value that can be null (of several null flawors: just
>unknown, patient not asked, patient asked but does not know... etc.)
>
Pentabool, then? Or maybe you should just define an enumerated type for
this specialised need. I don't think it's possible to define generally
useful semantics for nulls, given the variety of uses they are put to.

Ben.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net