| void swap | ( | MyType & | rRight | ) |
Exchanges the contents of the AutoResource object with those of rRight, transferring ownership of any managed object between them without destroying either.
| rRight | is a reference to another AutoResource object of the same type (i.e. with the same class template parameters). |