Boost logo

Boost Users :

From: John Harris (TT) (john.harris_at_[hidden])
Date: 2002-10-17 06:33:24


It seems that there should be a way to get 64-bit integer support into
integer_traits.hpp on MSVC. It looks like the only real problem is the
missing feature of class constants, and the fact that integer_traits is
using enums (which can't hold const_max and const_min values).

But if there were specializations on the detail::integer_traits_base for MS
64-bit types, the constants could be declared in-class as __int64 but
defined out-of-class (still in the header), safely. It's not as pretty as
BOOST_STATIC_CONSTANT, but wouldn't it work?

john harris
trading technologies


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net