Changes in libcfa/src/memory.cfa [85871478:1341ce1]
- File:
-
- 1 edited
-
libcfa/src/memory.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/memory.cfa
r85871478 r1341ce1 155 155 156 156 forall(T &) 157 T * release(unique_ptr(T) & this) { 158 T * data = this.data; 159 this.data = 0p; 160 return data; 161 } 162 163 forall(T &) 157 164 int ?==?(unique_ptr(T) const & this, unique_ptr(T) const & that) { 158 165 return this.data == that.data;
Note:
See TracChangeset
for help on using the changeset viewer.