Blaze 3.9
blaze::MakeSigned< T > Struct Template Reference

Compile time type conversion into a signed integral type. More...

#include <MakeSigned.h>

Detailed Description

template<typename T>
struct blaze::MakeSigned< T >

Compile time type conversion into a signed integral type.

This type trait provides the feature to convert the given integral or constant type T to the corresponding signed integral data type with the same size and with the same cv-qualifiers. Note that in case T is bool or a non-integral data type, a compilation error is created.

enum MyEnum { ... };
blaze::MakeSigned<int>::Type // Results in 'int'
blaze::MakeSigned<MyEnum>::Type // Signed integer type with the same width as the enum
blaze::MakeSigned<wchar_t>::Type // Signed integer type with the same width as wchar_t
Compile time type conversion into a signed integral type.
Definition: MakeSigned.h:74

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