Converts the argument to the corresponding unsigned type.
Declared in <folly/Utility.h>
template<
typename...,
typename T>
constexpr
std::make_unsigned<T>::type
to_unsigned(T const& t) noexcept;
This function is defined as an Algorithm Function Object (AFO).
The value as its unsigned counterpart.
| Name | Description |
|---|---|
| t | The value to convert. |