| 21 | /* SwigValueWrapper is described in swig.swg */ |
| 22 | template<typename T> class SwigValueWrapper { |
| 23 | struct SwigMovePointer { |
| 24 | T *ptr; |
| 25 | SwigMovePointer(T *p) : ptr(p) { } |
| 26 | ~SwigMovePointer() { delete ptr; } |
| 27 | SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } |
| 28 | } pointer; |
| 29 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); |
| 30 | SwigValueWrapper(const SwigValueWrapper<T>& rhs); |
| 31 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected