Lines Matching refs:Wrapper
84 // primitive types and the case where Traits::Wrapper == T.
107 typename Traits::Wrapper wrapper_;
126 // headers). (This is why the Traits::Wrapper type exists; normally,
127 // Traits::Wrapper is just T itself, but that needs to be changed for
161 // typedef SomeOtherType* Wrapper;
163 // static void InitializeWrapper(Wrapper* wrapper);
165 // static void DestroyWrapper(Wrapper* wrapper);
180 // Wrapper* wrapper) {
181 // *wrapper = new SomeOtherType();
185 // Wrapper* wrapper) {
186 // delete *wrapper;
196 typedef T Wrapper;
198 static void InitializeWrapper(Wrapper* wrapper) {}
200 static void DestroyWrapper(Wrapper* wrapper) {}
202 static const T& Unwrap(const Wrapper& wrapper) { return wrapper; }
204 static T* UnwrapMutable(Wrapper* wrapper) { return wrapper; }