로딩중...
검색중...
일치하는것 없음
id.hpp
이 파일의 문서화 페이지로 가기
1
2#pragma once
3
4#include "memlite/common.hpp"
5
6namespace by {
7
29 struct _nout id {
30 id(nint new_tagN, nint newChkN, nuint newSerial);
31 id();
32
33 public:
34 nbool operator==(const id& rhs) const;
35 nbool operator!=(const id& rhs) const;
36
37 public:
41 void rel();
46 nbool isHeap() const;
47 nbool isValid() const;
48
49 public:
50 nint tagN: 21;
51 nint chkN: 22;
52 nuint serial: 21;
53 };
54}
Weak reference smart pointer with type-safe access
Definition tweak.hpp:16
Unique identifier for instances in memlite system
Definition id.hpp:29
nbool isHeap() const
Checks if the instance identified by this ID is allocated on the heap.
void rel()
Resets the ID to an invalid or default state.
to Top