std::make_signed

From cppreference.com
Jump to: navigation, search
Defined in header <type_traits>
template< class T >
struct make_signed;
(since C++11)

Given an integral (except bool) or enumeration type T, provides the member typedef type which is the signed integer type corresponding to T, with the same cv-qualifiers.

[edit] Member types

Name Definition
type the signed integer type corresponding to T

[edit] Example

[edit] See also

(C++11)
checks if a type is signed arithmetic type
(class template) [edit]
checks if a type is unsigned arithmetic type
(class template) [edit]
makes the given integral type unsigned
(class template) [edit]

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox