|
Boost : |
From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 10:45:35
Hi,
I propose following change in numeric_traits.hpp to be able to
compile it with Solaris Forte C++ 6 u.1
Gennadiy.
cvs diff numeric_traits.hpp
Index: numeric_traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/detail/numeric_traits.hpp,v
retrieving revision 1.10
diff -r1.10 numeric_traits.hpp
154c154
< || (int(x::digits) + 1 >=
digit_traits<boost::intmax_t>::digits)))>::template then<
--- > || (int(x::digits) + 1 >= digit_traits<boost::intmax_t>::digits))), 157c157 < typename if_true<(int(x::digits) + 1 < digit_traits<signed int>::digits)>::template then< --- > typename if_true<(int(x::digits) + 1 < digit_traits<signed int>::digits), 160c160 < typename if_true<(int(x::digits) + 1 < digit_traits<signed long>::digits)>::template then< --- > typename if_true<(int(x::digits) + 1 < digit_traits<signed long>::digits), 170c170 < if_true<(sizeof(Integer) >= sizeof(intmax_t))>::template then< --- > if_true<(sizeof(Integer) >= sizeof(intmax_t)), 172c172 < typename if_true<(is_signed<Integer>::value)>::template then< --- > typename if_true<(is_signed<Integer>::value), 177c177 < typename if_true<(sizeof(Integer) < sizeof(std::ptrdiff_t)) >::template then< --- > typename if_true<(sizeof(Integer) < sizeof(std::ptrdiff_t)),
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk