operator==
Function Usage
Determines whether the object of the current dimension expansion rule is consistent with another object.
Prototype
1 | bool operator==(const ExpandDimsType &other) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
other |
Input |
Another object of the dimension expansion rule. |
Returns
The value true indicates consistent, and the value false indicates inconsistent.
Constraints
None
Examples
1 2 3 | ExpandDimsType type1("1001"); ExpandDimsType type2("1001"); bool is_same_type = type1 == type2; // true |
Parent topic: ExpandDimsType