Opened 10 years ago

Closed 4 years ago

#7823 closed Feature Requests (obsolete)

Support for intptr_t/uintptr_t

Reported by: Andrey Semashev Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc: tim@…

Description

Please, provide config macros for intptr_t/uintptr_t presence detection. These typedefs are described by the C++11 standard as optional and are actually present on many real world platforms.

Having those macros defined, please add the intptr_t/uintptr_t typedefs to boost/cstdint.hpp so that these types can be used consistently in libraries. For instance, Boost.Atomic could have used these macros and typedefs to define atomic<> typedefs described by the standard (it now attempts to detect the types' presence by its own means).

Change History (5)

comment:1 by viboes, 10 years ago

Andrey, Boost.Config evolves mainly by providing a complete patch for the new features. Please could you provide a patch following the instructions is the documentation.

comment:2 by timblechmann, 10 years ago

Cc: tim@… added

comment:3 by timblechmann, 10 years ago

related to #7979

comment:4 by Andrey Semashev, 9 years ago

(In [84805]) Extracted intptr_t and uintptr_t types to cstdint.hpp. Refs #7823.

comment:5 by John Maddock, 4 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.