Update Boost.Integer meta-programming classes to work with intmax_t where possible - ie to be 64-bit clean.

Added quickbook based docs - updated as necessary.
Removed old html docs.

[SVN r57926]
This commit is contained in:
John Maddock
2009-11-25 12:38:09 +00:00
parent db267e22f8
commit ca84baa55d
21 changed files with 2714 additions and 1105 deletions

View File

@ -16,7 +16,7 @@
#ifndef BOOST_INTEGER_STATIC_LOG2_HPP
#define BOOST_INTEGER_STATIC_LOG2_HPP
#include "boost/config.hpp" // for BOOST_STATIC_CONSTANT
#include "boost/integer_fwd.hpp" // for boost::intmax_t
namespace boost {
@ -41,9 +41,8 @@ namespace boost {
// terminates with x = 1 and n = 0 (see the algorithm's
// invariant).
typedef unsigned long argument_type;
typedef int result_type;
typedef boost::static_log2_argument_type argument_type;
typedef boost::static_log2_result_type result_type;
template <result_type n>
struct choose_initial_n {
@ -107,10 +106,6 @@ namespace boost {
// static_log2<x>
// ----------------------------------------
typedef detail::static_log2_impl::argument_type static_log2_argument_type;
typedef detail::static_log2_impl::result_type static_log2_result_type;
template <static_log2_argument_type x>
struct static_log2 {