Variable size/Set: Difference between revisions
Content added Content deleted
Line 21: | Line 21: | ||
=={{header|C++}}== |
=={{header|C++}}== |
||
{{works with|C++11}} or {{works with|Boost}} |
|||
<lang Cpp>#include <boost/cstdint.hpp> |
<lang Cpp>#include <boost/cstdint.hpp> |
||
boost::int_least32_t foo;</lang> |
boost::int_least32_t foo;</lang> |
||
C++03 does not specify a standard stdint.h or cstdint header. At least one widely used compiler (MSVC) does not support C99 and hence does not ship with stdint.h. The [http://www.boost.org/ Boost C++ Libraries] provide a portable implementation which should be used instead. |
|||
=={{header|D}}== |
=={{header|D}}== |