Can someone who was subscribed when the Integer library was approved
explain me what were the reasons to choose the current implementation
of static_log2 against e.g.

  template <unsigned long n>
  struct log2 {

      BOOST_STATIC_CONSTANT(unsigned long,
                            value = 1 + (log2<n/2>::value));

  };


  template <>
  struct log2<1> {

      BOOST_STATIC_CONSTANT(unsigned long, value = 0);

  };

?


Genny.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to