Assign a hzIntset instance to another. This will only facilitate a soft copy.
| Return Type | Function name | Arguments |
|---|---|---|
| hzIntset& | hzIntset::operator= | (hzIntset&,) |
Declared in file: hzIntset.h
Defined in file : hzIntset.cpp
Function Logic:
Function body:
hzIntset& hzIntset::operator= (hzIntset& op)
{
// Assign a hzIntset instance to another. This will only facilitate a soft copy.
//
// Argument: op The supplied bitmap
//
// Returns: Reference to this bitmap instance in all cases.
_hzfunc("hzIntset::operator=") ;
if (mx == op.mx)
return *this ;
Clear() ;
mx = op.mx ;
if (mx)
mx->m_nCopies++ ;
return *this ;
}