Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 840 Bytes

wint_min.md

File metadata and controls

44 lines (33 loc) · 840 Bytes

WINT_MIN

  • cstdint[meta header]
  • macro[meta id-type]
  • cpp11[meta cpp]
# define WINT_MIN implementation-defined

概要

wint_t の最小値。

wint_tが符号付き整数型として定義される場合、このマクロの値は-32768以下となる。そうでない場合、このマクロの値は0となる。

#include <iostream>
#include <cstdint>

int main()
{
  std::wint_t min_value = WINT_MIN;
  std::cout << static_cast<long long>(min_value) << std::endl;
}
  • WINT_MIN[color ff0000]

出力例

0

バージョン

言語

  • C++11

処理系