- Implemented an (unused) operator_nopartial for the sake of symmetry.
This commit is contained in:
Paul Beckingham 2014-05-31 17:54:43 -04:00
parent b272513747
commit 4f8d6c877d
2 changed files with 8 additions and 0 deletions

View file

@ -888,6 +888,13 @@ bool Variant::operator_partial (const Variant& other) const
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
{

View file

@ -65,6 +65,7 @@ public:
bool operator_match (const Variant&) const;
bool operator_nomatch (const Variant&) const;
bool operator_partial (const Variant&) const;
bool operator_nopartial (const Variant&) const;
bool operator_hastag (const Variant&) const;
bool operator_notag (const Variant&) const;
bool operator! () const;