Boost logo

Boost :

Subject: [boost] Macro fo rBOOST_NO_NUMERIC_LIMITS_MAX_DIGITS10 or use BOOST_NO_NUMERIC_LIMITS_LOWEST
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2012-07-11 05:38:22


I have recently used BOOST_NO_NUMERIC_LIMITS_LOWEST to act as a proxy for support of
numeric_limits<T>:: max_digits10 (as correctly suggested by John Maddock).

Do we need yet another new macro for this, say

BOOST_NO_NUMERIC_LIMITS_MAX_DIGITS10

or continue to use BOOST_NO_NUMERIC_LIMITS_LOWEST as a proxy.

I think the latter will suffice (despite its unfortunate name for this task).

But I think an addition to the configuration macro reference docs would be useful.

Perhaps in macro_reference.qbk

[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][Standard library][
Static function `numeric_limits<T>::lowest()` is not available for use.
Also acts as a proxy for static const int `numeric_limits<T>:: max_digits10;` is not available for
use.
]]

I suspect there are also other additions that went with these two items, but I'm having a senior
moment about what they are ;-(

Views?

Paul

---
Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204
pbristow_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk