Variant
- Implemented an (unused) operator_nopartial for the sake of symmetry.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user