Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-10-01 06:13:37


Sigh, the patch I posted isn't exactly wrong but it contains a little
bit too much. Appended is a smaller version.

Sorry, Markus


*** ct_gcd_lcm.hpp.~1.5.~ Sat Aug 4 16:31:37 2001
--- ct_gcd_lcm.hpp Tue Oct 1 13:10:12 2002
***************
*** 37,44 ****
  {
    BOOST_STATIC_CONSTANT(unsigned, A_mod_B_ = A % B);
    BOOST_STATIC_CONSTANT(unsigned, value =
! (::boost::details::pool::details::ct_gcd_helper<B, A_mod_B_,
! ::boost::type_traits::ice_eq<A_mod_B_, 0>::value>::value) );
  };
  template <unsigned A, unsigned B>
  struct ct_gcd_helper<A, B, true>
--- 37,46 ----
  {
    BOOST_STATIC_CONSTANT(unsigned, A_mod_B_ = A % B);
    BOOST_STATIC_CONSTANT(unsigned, value =
! (::boost::details::pool::details::ct_gcd_helper<
! B, static_cast<unsigned>(A_mod_B_),
! ::boost::type_traits::ice_eq<A_mod_B_, 0>::value
! >::value) );
  };
  template <unsigned A, unsigned B>
  struct ct_gcd_helper<A, B, true>


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