Struct add_unsigned

Synopsis

#include <include/EASTL/internal/type_transformations.h>

template<class T>
struct add_unsigned : public make_unsigned<T>

Description

add_unsigned

This is not a C++11 type trait, and is here for backwards compatibility only. Use the C++11 make_unsigned type trait instead.

Adds unsigned-ness to the given type. Modifies only integral values; has no effect on others. add_unsigned<int>::type is unsigned int add_unsigned<unsigned int>::type is unsigned int

Inheritance

Ancestors: make_unsigned

Source

Lines 250-252 in include/EASTL/internal/type_transformations.h.

template<class T>
struct add_unsigned : public make_unsigned<T>
{ typedef typename eastl::make_signed<T>::type type; };





Add Discussion as Guest

Log in