엔진
조사해야될거
알쿠미
2016. 3. 1. 18:19
uuid , GUID , __declspec(좀더 자세히),
std::numeric_limits - 계산가능한 변수들의 정보를 반환하는 거
template<typename Type>
inline void DeleteAndClear(Type*& ptr)
{
delete ptr;
ptr = nullptr;
}
template<typename Type>
inline void ReleaseAndClear(Type*& ptr)
{
if (ptr) {
ptr->Release();
ptr = nullptr;
}
}
template<typename Type>
inline void DeleteArrayAndClear(Type*& ptr)
{
delete ptr;
ptr = nullptr;
}