17 lines
		
	
	
		
			287 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			287 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
 | 
						|
#pragma once
 | 
						|
 | 
						|
#if !defined(BAD_APPLE_OS_BIT_INCLUDED)
 | 
						|
#define BAD_APPLE_OS_BIT_INCLUDED
 | 
						|
 | 
						|
namespace std
 | 
						|
{
 | 
						|
template<typename TTo, typename TFrom>
 | 
						|
const TTo bit_cast(const TFrom& from) noexcept
 | 
						|
{
 | 
						|
    return __builtin_bit_cast(TTo, from);
 | 
						|
}
 | 
						|
}
 | 
						|
 | 
						|
#endif // !defined(BAD_APPLE_OS_BIT_INCLUDED)
 |