mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user