Searched defs:MallocedBuffer (Results 1 – 1 of 1) sorted by relevance
556 struct MallocedBuffer { struct573 MallocedBuffer() : data(nullptr), size(0) {} in MallocedBuffer() argument574 explicit MallocedBuffer(size_t size) : data(Malloc<T>(size)), size(size) {} in MallocedBuffer() function575 MallocedBuffer(T* data, size_t size) : data(data), size(size) {} in MallocedBuffer() argument576 MallocedBuffer(MallocedBuffer&& other) : data(other.data), size(other.size) { in MallocedBuffer() function583 ~MallocedBuffer() { in ~MallocedBuffer() argument587 MallocedBuffer& operator=(const MallocedBuffer&) = delete; argument