mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Variant
- Implemented an (unused) operator_nopartial for the sake of symmetry.
This commit is contained in:
parent
b272513747
commit
4f8d6c877d
2 changed files with 8 additions and 0 deletions
|
@ -888,6 +888,13 @@ bool Variant::operator_partial (const Variant& other) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Inverse of operator_partial.
|
||||||
|
bool Variant::operator_nopartial (const Variant& other) const
|
||||||
|
{
|
||||||
|
return ! operator_partial (other);
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Variant::operator_hastag (const Variant& other) const
|
bool Variant::operator_hastag (const Variant& other) const
|
||||||
{
|
{
|
||||||
|
|
|
@ -65,6 +65,7 @@ public:
|
||||||
bool operator_match (const Variant&) const;
|
bool operator_match (const Variant&) const;
|
||||||
bool operator_nomatch (const Variant&) const;
|
bool operator_nomatch (const Variant&) const;
|
||||||
bool operator_partial (const Variant&) const;
|
bool operator_partial (const Variant&) const;
|
||||||
|
bool operator_nopartial (const Variant&) const;
|
||||||
bool operator_hastag (const Variant&) const;
|
bool operator_hastag (const Variant&) const;
|
||||||
bool operator_notag (const Variant&) const;
|
bool operator_notag (const Variant&) const;
|
||||||
bool operator! () const;
|
bool operator! () const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue