Searched refs:SwigMovePointer (Results 1 – 3 of 3) sorted by relevance
18 struct SwigMovePointer { struct in SwigValueWrapper20 SwigMovePointer(T *p) : ptr(p) { } in SwigMovePointer() argument21 ~SwigMovePointer() { delete ptr; } in ~SwigMovePointer() argument22 …SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = … in operator =() argument28 …SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *th… in operator =()
17 struct SwigMovePointer { struct in SwigValueWrapper19 SwigMovePointer(T *p) : ptr(p) { } in SwigMovePointer() argument20 ~SwigMovePointer() { delete ptr; } in ~SwigMovePointer() argument21 …SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = … in operator =() argument27 …SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *th… in operator =()