My Project
bsl::make_unsigned< T > Class Template Referencefinal

If the provided type is an signed type (taking into account const qualifications), Provides the member typedef type which is the same as T, except that the type is unsigned. More...

#include <make_unsigned.hpp>

Detailed Description

template<typename T>
class bsl::make_unsigned< T >

If the provided type is an signed type (taking into account const qualifications), Provides the member typedef type which is the same as T, except that the type is unsigned.

#include <bsl/is_same.hpp>
#include <bsl/debug.hpp>
namespace bsl
{
inline void
example_make_unsigned_overview() noexcept
{
bsl::print() << "success\n";
}
}
}
Note
We only support the cstdint.hpp basic fixed-width types which is different compared to the standard library version of this type trait. This is because, the fixed-width types are the only types that we support.
Template Parameters
Tthe type to query

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