Traits assisting selection of optimized integer byte swapping. More...
#include <osvr/Common/IntegerByteSwap.h>
Public Types | |
typedef boost::int_t< sizeof(T)*8 > ::exact | int_t |
typedef boost::uint_t< sizeof(T)*8 > ::exact | uint_t |
typedef std::conditional < std::is_signed< T >::value, uint_t, int_t >::type | opposite_signedness_type |
typedef std::add_const < opposite_signedness_type > ::type | const_opposite_signedness_type |
typedef ByteSwap< T > | ByteSwapper |
typedef ByteSwap < opposite_signedness_type > | OppositeByteSwapper |
Static Public Attributes | |
static const bool | HAVE_BYTESWAPPER |
static const bool | HAVE_OPPPOSITEBYTESWAPPER |
Traits assisting selection of optimized integer byte swapping.
T | an integer type, without const, volatile, or reference qualifiers. |
Definition at line 149 of file IntegerByteSwap.h.
|
static |
Definition at line 162 of file IntegerByteSwap.h.
|
static |
Definition at line 164 of file IntegerByteSwap.h.