- cstdint[meta header]
- macro[meta id-type]
- cpp11[meta cpp]
# define WINT_MAX implementation-definedwint_t の最大値。
wint_tが符号付き整数型として定義される場合、このマクロの値は32767以上となる。そうでない場合、このマクロの値は65535以上となる。
#include <iostream>
#include <cstdint>
int main()
{
std::wint_t max_value = WINT_MAX;
std::cout << static_cast<long long>(max_value) << std::endl;
}- WINT_MAX[color ff0000]
4294967295
- C++11
- Clang C++11 mode: 3.2
- GCC, C++11 mode: 4.4
- ICC: ??
- Visual C++: 2010, 2012, 2013, 2015, 2017