Modify

Opened 9 years ago

Last modified 9 years ago

#2135 new Feature Requests

Biggest integral types for value-based template arguments

Reported by: Daryle Walker Owned by: Daryle Walker
Milestone: To Be Determined Component: integer
Version: Boost Development Trunk Severity: Problem
Keywords: cstdint intmax Cc: dwalker07@…

Description

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@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.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Daryle Walker

Cc: dwalker07@… added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Daryle Walker.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.