bool: add default DONTCARE constructor for tribool

This commit is contained in:
Danny Robson 2022-06-13 14:19:43 +10:00
parent 152beff483
commit 2c304f2c0b

View File

@ -31,6 +31,10 @@ namespace cruft {
: m_value (value::DONTCARE)
{ ; }
constexpr tribool ()
: tribool (nullptr)
{ ; }
/// Return true if the object contains a concrete value
constexpr bool has (void) const
{