Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-12 08:40:42


I recently added specializations of numeric_limits<__int64> and
numeric_limits<unsigned __int64> to boost/limits.hpp for MSVC6 support.
However, I'm finding that more than one compiler supplies a 64 bit integer
type without corresponding specializations of numeric_limits<>.

I'd like to suggest two things:

1. A boost config macro we can use to detect this condition

2. the implementation details used to implement std::numeric_limits<> in
boost/detail/limits.hpp should stop using names reserved to the C++
implementation and instead be moved to namespace boost::detail in a
separate file. Then boost/limits.hpp could generate the missing definitions
for the appropriate compilers.



                  David Abrahams
      C++ Booster ( O__ ==
      Pythonista ( c/ /'_ ==
  resume: (*) \(*) ==
          email: david.abrahams_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at