Subject: [Boost-bugs] [Boost C++ Libraries] #2135: Biggest integral types for value-based template arguments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-22 05:22:52
#2135: Biggest integral types for value-based template arguments
-------------------------------------+--------------------------------------
Reporter: dlwalker | Owner: dlwalker
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: integer
Version: Boost Development Trunk | Severity: Problem
Keywords: cstdint intmax |
-------------------------------------+--------------------------------------
This is based on the post at
<http://lists.boost.org/Archives/boost/2008/07/139965.php>:
The `boost::intmax_t` and `boost::uintmax_t` types in
"[source:trunk/boost/boost/cstdint.hpp_at_32397 boost/cstdint.hpp]" alias the
largest built-in signed and unsigned integer types. They should be the
special 64-bit types, (`unsigned`) `long long` or` __int64`, on systems
that support 64-bit registers (and no higher). However, the
`BOOST_NO_INTEGRAL_INT64_T` preprocessor flag warns when these types are
not suitable as integral constant expressions. Therefore, there needs to
be types that indicate the largest integral types still suitable in
integral constant expressions.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2135> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC