operator==

Description

Determines whether the object of the current dimension expansion rule is consistent with another object.

Prototype

bool operator==(const ExpandDimsType &other) const

Parameters

Parameter

Input/Output

Description

other

Input

Another object of the dimension expansion rule.

Returns

true and false

Restrictions

None

Example

ExpandDimsType type1("1001");
ExpandDimsType type2("1001");
bool is_same_type = type1 == type2; // true