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