This commit is contained in:
Branimir Karadžić
2020-09-08 07:42:45 -07:00
parent 8c6f53063f
commit 354f8ba67e
2 changed files with 0 additions and 10 deletions
-4
View File
@@ -38,10 +38,6 @@ namespace bx
template<class Ty>
constexpr bool isTriviallyCopyable();
///
template<typename ProtoT>
constexpr ProtoT functionCast(void* _fn);
/// Swap two values.
template<typename Ty>
void swap(Ty& _a, Ty& _b);
-6
View File
@@ -33,12 +33,6 @@ namespace bx
return __is_trivially_copyable(Ty);
}
template<typename ProtoT>
inline constexpr ProtoT functionCast(void* _fn)
{
return reinterpret_cast<ProtoT>(_fn);
}
template<typename Ty>
inline void swap(Ty& _a, Ty& _b)
{