First page Back Continue Last page Graphics
hasDMA & hasDMA::operator=(const hasDMA & hs)
- hasDMA & hasDMA::operator=(const hasDMA & hs)
- {
- if (this == &hs)
- return *this;
- baseDMA::operator=(hs) // copy base portion
- style = new char[strlen(hs.style) + 1];
- strcpy(style, hs.style);
- return *this;
- }
scope resolution used on operator=
*this = hs; // use baseDMA::operator=( )
Example: Prata dma