equal
deleted
inserted
replaced
141 type* non_null_obj() const { assert(_value != NULL, "resolving NULL _value"); return _value; } \ |
141 type* non_null_obj() const { assert(_value != NULL, "resolving NULL _value"); return _value; } \ |
142 \ |
142 \ |
143 public: \ |
143 public: \ |
144 /* Constructors */ \ |
144 /* Constructors */ \ |
145 name##Handle () : _value(NULL), _thread(NULL) {} \ |
145 name##Handle () : _value(NULL), _thread(NULL) {} \ |
146 name##Handle (type* obj); \ |
|
147 name##Handle (Thread* thread, type* obj); \ |
146 name##Handle (Thread* thread, type* obj); \ |
148 \ |
147 \ |
149 name##Handle (const name##Handle &h); \ |
148 name##Handle (const name##Handle &h); \ |
150 name##Handle& operator=(const name##Handle &s); \ |
149 name##Handle& operator=(const name##Handle &s); \ |
151 \ |
150 \ |