8 #ifndef DXLE_INC_HELPER_H_ 9 #define DXLE_INC_HELPER_H_ 75 template<
typename Child>
92 : handle(other.handle)
95 SetDeleteHandleFlag(handle, &handle);
100 if (
this == &other) {
return *
this; }
101 handle = other.handle;
103 SetDeleteHandleFlag(handle, &handle);
109 static_cast<Child*
>(
this)->Delete();
114 : handle(param_handle)
116 SetDeleteHandleFlag(handle, &handle);
122 int temp = GetHandle();
123 SetDeleteHandleFlag(handle,
nullptr);
131 template<
typename Child>
148 : handle(
std::move(other.handle))
155 if (
this == &other) {
return *
this; }
156 handle = other.handle;
157 DxLib::SetDeleteHandleFlag(handle, &handle);
165 : handle(param_handle)
167 DxLib::SetDeleteHandleFlag(handle, &handle);
171 static_cast<Child*
>(
this)->delete_this();
174 void SetHandle_IMPL(
int new_handle) { handle = (new_handle); DxLib::SetDeleteHandleFlag(handle, &handle); }
friend This_T operator+(const T &other, const This_T &bace) DXLE_NOEXCEPT_OR_NOTHROW
bool operator<=(const This_T &other) const DXLE_NOEXCEPT_OR_NOTHROW
const T & count() const DXLE_NOEXCEPT_OR_NOTHROW
整数型の値を取得する
static Counter_template< U > Do(const U &value) DXLE_NOEXCEPT_OR_NOTHROW
Counter_template<T>からCounter_template<U>にキャストする
Unique_HandledObject_Bace(Bace_T &&other) DXLE_NOEXCEPT_OR_NOTHROW
Counter_template(T param) DXLE_NOEXCEPT_OR_NOTHROW
bool operator<(const This_T &other) const DXLE_NOEXCEPT_OR_NOTHROW
int GetHandle() const DXLE_NOEXCEPT_OR_NOTHROW
Unique_Handle_Bace & operator=(Bace_T &&other) DXLE_NOEXCEPT_OR_NOTHROW
Unique_Handle_Bace(int param_handle) DXLE_NOEXCEPT_OR_NOTHROW
friend This_T operator-(const T &other, const This_T &bace) DXLE_NOEXCEPT_OR_NOTHROW
virtual ~Unique_HandledObject_Bace() DXLE_NOEXCEPT_OR_NOTHROW
const This_T & operator+() const DXLE_NOEXCEPT_OR_NOTHROW
~Unique_Handle_Bace() DXLE_NOEXCEPT_OR_NOTHROW
Unique_HandledObject_Bace(int param_handle) DXLE_NOEXCEPT_OR_NOTHROW
This_T & operator-=(const T &other) DXLE_NOEXCEPT_OR_NOTHROW
Counter_template() DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR int GetHandle() const DXLE_NOEXCEPT_OR_NOTHROW
bool operator>=(const This_T &other) const DXLE_NOEXCEPT_OR_NOTHROW
Unique_HandledObject_Bace< Child > Bace_T
void SetHandle_IMPL(int new_handle)
bool operator>(const This_T &other) const DXLE_NOEXCEPT_OR_NOTHROW
const T & GetInt() const DXLE_NOEXCEPT_OR_NOTHROW
整数型の値を取得する
This_T operator+(const T &other) const DXLE_NOEXCEPT_OR_NOTHROW
Unique_Handle_Bace(Bace_T &&other) DXLE_NOEXCEPT_OR_NOTHROW
This_T operator-() const DXLE_NOEXCEPT_OR_NOTHROW
Unique_HandledObject_Bace & operator=(Bace_T &&other) DXLE_NOEXCEPT_OR_NOTHROW
Unique_Handle_Bace< Child > Bace_T
DXLE_CONSTEXPR Unique_HandledObject_Bace() DXLE_NOEXCEPT_OR_NOTHROW
#define DXLE_NOEXCEPT_OR_NOTHROW
This_T operator-(const T &other) const DXLE_NOEXCEPT_OR_NOTHROW
Unique_Handle_Bace() DXLE_NOEXCEPT_OR_NOTHROW
T operator-(const This_T &other) const DXLE_NOEXCEPT_OR_NOTHROW
This_T & operator+=(const T &other) DXLE_NOEXCEPT_OR_NOTHROW
int ReleaseRun() DXLE_NOEXCEPT_OR_NOTHROW