rocPRIM
Public Types | List of all members
get_unsigned_bits_type< T, size > Struct Template Reference

Used to retrieve a type that can be treated as unsigned version of the template parameter. More...

#include <type_traits.hpp>

Public Types

typedef get_unsigned_bits_type< T, sizeof(T)>::unsigned_type unsigned_type
 Typedefed to the unsigned type.
 

Detailed Description

template<typename T, int size = 0>
struct get_unsigned_bits_type< T, size >

Used to retrieve a type that can be treated as unsigned version of the template parameter.

Template Parameters
T- The signed type to find an unsigned equivalent for.
size- the desired size (in bytes) of the unsigned type

The documentation for this struct was generated from the following file: