From e46e70d677aa2b666fb7e47a3dd6abbdc3db8812 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 8 Jun 2014 13:19:25 +0100 Subject: [PATCH] Update the limits.hpp documentation --- index.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 894f4da..de28c5c 100644 --- a/index.html +++ b/index.html @@ -60,22 +60,23 @@

Missing C++ standard library CXX headers (e.g <cstdio>)

Contributed by Ralf W. Grosse-Kunstleve.

-

Missing C++ standard library <limits> header workaround +

C++ standard library <limits> header workaround boost/limits.hpp

Several Boost libraries require the standard library's <limits> - header, yet this header is not always supplied by non-conforming - compilers and libraries.  Header boost/limits.hpp simply includes the - standard library <limits> header if available, otherwise includes - boost/detail/limits.hpp.  - BOOST_NO_LIMITS from boost/config.hpp - is used to determine <limits> availability.

+ header, yet this header doesn't always include all the appropriate + specializations of std::numeric_limits. Header boost/limits.hpp includes the + standard library <limits> header, with some missing specialisations.

Note also the test program limits_test.cpp

+

This header used to include a full fallback implementation for libraries + which didn't have the standard <limits> header, but was removed + because such libraries are obsolete, and there were licensing problems + with the fallback implementation.

+

Contributed by Jens Maurer.