Traits assisting selection of optimized integer byte swapping.
More...
#include <IntegerByteSwap.h>
|
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 const bool | HAVE_BYTESWAPPER |
|
static const bool | HAVE_OPPPOSITEBYTESWAPPER |
|
template<typename T>
struct osvr::common::detail::IntegerByteSwapTraits< T >
Traits assisting selection of optimized integer byte swapping.
- Template Parameters
-
T | an integer type, without const, volatile, or reference qualifiers. |
§ HAVE_BYTESWAPPER
Initial value:=
IsByteSwapperSpecialized<ByteSwapper>::value
§ HAVE_OPPPOSITEBYTESWAPPER
Initial value:=
IsByteSwapperSpecialized<OppositeByteSwapper>::value
The documentation for this struct was generated from the following file: