$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-01-19 14:54:23
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.