zero: Added support for initializing bool
This commit is contained in:
parent
b8031d592b
commit
b49a71a402
1 changed files with 6 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ public:
|
|||
zero()
|
||||
{}
|
||||
|
||||
//- Return 0 for bool
|
||||
inline operator bool() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//- Return 0 for label
|
||||
inline operator label() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue