|
@@ -33,12 +33,6 @@ namespace bx
|
|
|
return __is_trivially_copyable(Ty);
|
|
return __is_trivially_copyable(Ty);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template<typename ProtoT>
|
|
|
|
|
- inline constexpr ProtoT functionCast(void* _fn)
|
|
|
|
|
- {
|
|
|
|
|
- return reinterpret_cast<ProtoT>(_fn);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
template<typename Ty>
|
|
template<typename Ty>
|
|
|
inline void swap(Ty& _a, Ty& _b)
|
|
inline void swap(Ty& _a, Ty& _b)
|
|
|
{
|
|
{
|