C++11: intptr_t/int_ptr_t, intmax_t/int_max_t?

前端 未结 1 749
忘了有多久
忘了有多久 2021-01-20 10:32

I\'m doing a bit of reading on c++11 and I\'ve noticed a couple things about int type names. Right now, apparently the spec is only available by paying for it but there is a

相关标签:
1条回答
  • 2021-01-20 11:12

    Yes, it's just a typo on the website. From the FDIS, §18.4.1 (Header <cstdint> synopsis):

    namespace std {
         ...
       typedef signed integer type intmax_t;
       typedef signed integer type intptr_t; //optional
         ...
       typedef unsigned integer type uintmax_t;
       typedef unsigned integer type uintptr_t; //optional
    } //namespace std

    0 讨论(0)
提交回复
热议问题