bool: add default DONTCARE constructor for tribool
This commit is contained in:
parent
152beff483
commit
2c304f2c0b
4
bool.hpp
4
bool.hpp
@ -31,6 +31,10 @@ namespace cruft {
|
|||||||
: m_value (value::DONTCARE)
|
: m_value (value::DONTCARE)
|
||||||
{ ; }
|
{ ; }
|
||||||
|
|
||||||
|
constexpr tribool ()
|
||||||
|
: tribool (nullptr)
|
||||||
|
{ ; }
|
||||||
|
|
||||||
/// Return true if the object contains a concrete value
|
/// Return true if the object contains a concrete value
|
||||||
constexpr bool has (void) const
|
constexpr bool has (void) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user