로딩중...
검색중...
일치하는것 없음
tmedium.hpp
이 파일의 문서화 페이지로 가기
1
2
#pragma once
3
4
#include "
indep/common.hpp
"
5
#include "
indep/macro/byeolMeta.hpp
"
6
#include "
indep/macro/declThis.hpp
"
7
#include "
indep/macro/unconstFunc.hpp
"
8
9
namespace
by {
10
56
template
<
typename
T>
class
tmedium
{
57
BY(ME(
tmedium
))
58
59
public
:
60
tmedium
(T* value);
61
tmedium
(
const
T* value);
62
63
public
:
64
operator
T&();
65
operator
const
T&()
const
;
66
operator
nbool
()
const
;
67
T* operator->();
68
const
T* operator->()
const
BY_CONST_FUNC(
operator
->());
69
70
public
:
71
nbool
has()
const
;
72
T* get();
73
const
T* get()
const
;
74
75
private
:
76
T* _value;
77
};
78
}
// namespace by
common.hpp
byeolMeta.hpp
by::tmedium
Medium class used exclusively in the OR macro for safe reference handling
Definition
tmedium.hpp:56
by::tweak
Weak reference smart pointer with type-safe access
Definition
tweak.hpp:16
declThis.hpp
unconstFunc.hpp
to Top