Пример #1
0
 // I really wish I would trust ADL. :|
 void swap(DrawOpQueue& other)
 {
     clipRectStack.swap(other.clipRectStack);
     std::swap(effectiveRect, other.effectiveRect);
     std::swap(haveEffectiveRect, other.haveEffectiveRect);
     ops.swap(other.ops);
     code.swap(other.code);
 }