로딩중...
검색중...
일치하는것 없음
allocator.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
5
6namespace by {
7
21 class _nout allocator: public memoryHaver {
22 BY(ME(allocator))
23
24 public:
25 // allocator:
26 explicit allocator(ncnt blksize = 1);
27
28 public:
29 virtual void* new1() = 0;
30 virtual nbool del(void* used, ncnt sz) = 0;
31 ncnt getBlkSize() const;
32
33 private:
34 ncnt _blksize;
35 };
36}
Abstract allocator interface for memory management
Definition allocator.hpp:21
Abstract interface for objects that own memory
Definition memoryHaver.hpp:29
Weak reference smart pointer with type-safe access
Definition tweak.hpp:16
to Top