概要
型を対応する符号なし整数型に変換する。std::make_unsignedに対応する。
戻り値
typeが表す型に対してstd::make_unsigned相当の変換を適用した結果の型のリフレクションを返す。
例外
typeが型を表さない場合、std::meta::exception例外を送出する。
例
#include <meta>
int main() {
static_assert(std::meta::make_unsigned(^^int) == ^^unsigned int);
}
出力
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: 16 (
-freflectionオプション指定) ✅ - Visual C++: ??