MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SwigValueWrapper

Method SwigValueWrapper

src/MeCab/MeCab_wrap.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
31public:
32 SwigValueWrapper() : pointer(0) { }
33 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
34 operator T&() const { return *pointer.ptr; }
35 T *operator&() { return pointer.ptr; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected