Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49254 - in trunk/boost: . accumulators/statistics archive date_time/posix_time functional/detail gil graph interprocess/allocators/detail intrusive numeric/conversion numeric/interval numeric/interval/detail numeric/ublas pending random spirit/home/classic/core/primitives/impl spirit/home/karma/numeric spirit/home/karma/numeric/detail spirit/home/qi/numeric/detail spirit/home/support/detail/math test/impl tr1 units units/detail units/systems/angle units/systems/detail unordered/detail
From: john_at_[hidden]
Date: 2008-10-10 12:10:05


Author: johnmaddock
Date: 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
New Revision: 49254
URL: http://svn.boost.org/trac/boost/changeset/49254

Log:
Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.

Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.

Fixes #2392.

Text files modified:
   trunk/boost/accumulators/statistics/moment.hpp | 2 +-
   trunk/boost/accumulators/statistics/peaks_over_threshold.hpp | 2 +-
   trunk/boost/accumulators/statistics/tail_quantile.hpp | 2 +-
   trunk/boost/accumulators/statistics/weighted_moment.hpp | 2 +-
   trunk/boost/archive/basic_text_oprimitive.hpp | 2 +-
   trunk/boost/date_time/posix_time/posix_time_config.hpp | 2 +-
   trunk/boost/functional/detail/float_functions.hpp | 2 +-
   trunk/boost/gil/utilities.hpp | 2 +-
   trunk/boost/graph/circle_layout.hpp | 2 +-
   trunk/boost/graph/erdos_renyi_generator.hpp | 2 +-
   trunk/boost/graph/fruchterman_reingold.hpp | 2 +-
   trunk/boost/graph/gursoy_atun_layout.hpp | 2 +-
   trunk/boost/graph/kamada_kawai_spring_layout.hpp | 2 +-
   trunk/boost/graph/plod_generator.hpp | 2 +-
   trunk/boost/graph/wavefront.hpp | 2 +-
   trunk/boost/interprocess/allocators/detail/adaptive_node_pool.hpp | 2 +-
   trunk/boost/intrusive/sgtree.hpp | 2 +-
   trunk/boost/nondet_random.hpp | 2 +-
   trunk/boost/numeric/conversion/converter_policies.hpp | 2 +-
   trunk/boost/numeric/interval/arith2.hpp | 2 +-
   trunk/boost/numeric/interval/detail/bugs.hpp | 2 +-
   trunk/boost/numeric/interval/rounded_arith.hpp | 2 +-
   trunk/boost/numeric/interval/rounded_transc.hpp | 2 +-
   trunk/boost/numeric/ublas/traits.hpp | 2 +-
   trunk/boost/pending/fibonacci_heap.hpp | 2 +-
   trunk/boost/random/binomial_distribution.hpp | 2 +-
   trunk/boost/random/cauchy_distribution.hpp | 2 +-
   trunk/boost/random/exponential_distribution.hpp | 2 +-
   trunk/boost/random/gamma_distribution.hpp | 2 +-
   trunk/boost/random/geometric_distribution.hpp | 2 +-
   trunk/boost/random/lagged_fibonacci.hpp | 4 ++--
   trunk/boost/random/lognormal_distribution.hpp | 2 +-
   trunk/boost/random/normal_distribution.hpp | 2 +-
   trunk/boost/random/poisson_distribution.hpp | 2 +-
   trunk/boost/random/subtract_with_carry.hpp | 4 ++--
   trunk/boost/random/triangle_distribution.hpp | 2 +-
   trunk/boost/spirit/home/classic/core/primitives/impl/numerics.ipp | 2 +-
   trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 2 +-
   trunk/boost/spirit/home/karma/numeric/real.hpp | 2 +-
   trunk/boost/spirit/home/karma/numeric/real_policies.hpp | 2 +-
   trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp | 2 +-
   trunk/boost/spirit/home/support/detail/math/fpclassify.hpp | 2 +-
   trunk/boost/test/impl/plain_report_formatter.ipp | 2 +-
   trunk/boost/tr1/complex.hpp | 2 +-
   trunk/boost/units/cmath.hpp | 2 +-
   trunk/boost/units/detail/cmath_boost_1_35.hpp | 2 +-
   trunk/boost/units/detail/cmath_gnu_impl.hpp | 2 +-
   trunk/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp | 2 +-
   trunk/boost/units/detail/cmath_msvc_impl.hpp | 2 +-
   trunk/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp | 2 +-
   trunk/boost/units/detail/cmath_mwcw_impl.hpp | 2 +-
   trunk/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp | 2 +-
   trunk/boost/units/detail/static_rational_power.hpp | 2 +-
   trunk/boost/units/systems/angle/degrees.hpp | 2 +-
   trunk/boost/units/systems/angle/gradians.hpp | 2 +-
   trunk/boost/units/systems/angle/revolutions.hpp | 2 +-
   trunk/boost/units/systems/detail/constants.hpp | 2 +-
   trunk/boost/unordered/detail/hash_table.hpp | 2 +-
   58 files changed, 60 insertions(+), 60 deletions(-)

Modified: trunk/boost/accumulators/statistics/moment.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/moment.hpp (original)
+++ trunk/boost/accumulators/statistics/moment.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -8,7 +8,7 @@
 #ifndef BOOST_ACCUMULATORS_STATISTICS_MOMENT_HPP_EAN_15_11_2005
 #define BOOST_ACCUMULATORS_STATISTICS_MOMENT_HPP_EAN_15_11_2005
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/assert.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: trunk/boost/accumulators/statistics/peaks_over_threshold.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/peaks_over_threshold.hpp (original)
+++ trunk/boost/accumulators/statistics/peaks_over_threshold.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -12,7 +12,7 @@
 #include <limits>
 #include <numeric>
 #include <functional>
-#include <cmath> // pow
+#include <boost/config/no_tr1/cmath.hpp> // pow
 #include <sstream> // stringstream
 #include <stdexcept> // runtime_error
 #include <boost/throw_exception.hpp>

Modified: trunk/boost/accumulators/statistics/tail_quantile.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/tail_quantile.hpp (original)
+++ trunk/boost/accumulators/statistics/tail_quantile.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -13,7 +13,7 @@
 #include <functional>
 #include <sstream>
 #include <stdexcept>
-#include <cmath> // For ceil
+#include <boost/config/no_tr1/cmath.hpp> // For ceil
 #include <boost/throw_exception.hpp>
 #include <boost/parameter/keyword.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: trunk/boost/accumulators/statistics/weighted_moment.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/weighted_moment.hpp (original)
+++ trunk/boost/accumulators/statistics/weighted_moment.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -8,7 +8,7 @@
 #ifndef BOOST_ACCUMULATORS_STATISTICS_WEIGHTED_MOMENT_HPP_EAN_15_11_2005
 #define BOOST_ACCUMULATORS_STATISTICS_WEIGHTED_MOMENT_HPP_EAN_15_11_2005
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/mpl/int.hpp>
 #include <boost/mpl/assert.hpp>
 #include <boost/mpl/placeholders.hpp>

Modified: trunk/boost/archive/basic_text_oprimitive.hpp
==============================================================================
--- trunk/boost/archive/basic_text_oprimitive.hpp (original)
+++ trunk/boost/archive/basic_text_oprimitive.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -26,7 +26,7 @@
 
 #include <iomanip>
 #include <locale>
-#include <cmath> // isnan
+#include <boost/config/no_tr1/cmath.hpp> // isnan
 #include <cassert>
 #include <cstddef> // size_t
 

Modified: trunk/boost/date_time/posix_time/posix_time_config.hpp
==============================================================================
--- trunk/boost/date_time/posix_time/posix_time_config.hpp (original)
+++ trunk/boost/date_time/posix_time/posix_time_config.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #include "boost/limits.hpp"
 #include "boost/date_time/compiler_config.hpp"
 #include "boost/cstdint.hpp"
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib> //for MCW 7.2 std::abs(long long)
 
 namespace boost {

Modified: trunk/boost/functional/detail/float_functions.hpp
==============================================================================
--- trunk/boost/functional/detail/float_functions.hpp (original)
+++ trunk/boost/functional/detail/float_functions.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -6,7 +6,7 @@
 #if !defined(BOOST_FUNCTIONAL_DETAIL_FLOAT_FUNCTIONS_HPP)
 #define BOOST_FUNCTIONAL_DETAIL_FLOAT_FUNCTIONS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
 # pragma once

Modified: trunk/boost/gil/utilities.hpp
==============================================================================
--- trunk/boost/gil/utilities.hpp (original)
+++ trunk/boost/gil/utilities.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -15,7 +15,7 @@
 
 #include "gil_config.hpp"
 #include <functional>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstddef>
 #include <algorithm>
 #include <utility>

Modified: trunk/boost/graph/circle_layout.hpp
==============================================================================
--- trunk/boost/graph/circle_layout.hpp (original)
+++ trunk/boost/graph/circle_layout.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -8,7 +8,7 @@
 // Andrew Lumsdaine
 #ifndef BOOST_GRAPH_CIRCLE_LAYOUT_HPP
 #define BOOST_GRAPH_CIRCLE_LAYOUT_HPP
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <utility>
 #include <boost/graph/graph_traits.hpp>
 

Modified: trunk/boost/graph/erdos_renyi_generator.hpp
==============================================================================
--- trunk/boost/graph/erdos_renyi_generator.hpp (original)
+++ trunk/boost/graph/erdos_renyi_generator.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -19,7 +19,7 @@
 #include <boost/random/geometric_distribution.hpp>
 #include <boost/type_traits/is_base_and_derived.hpp>
 #include <boost/type_traits/is_same.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: trunk/boost/graph/fruchterman_reingold.hpp
==============================================================================
--- trunk/boost/graph/fruchterman_reingold.hpp (original)
+++ trunk/boost/graph/fruchterman_reingold.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -9,7 +9,7 @@
 #ifndef BOOST_GRAPH_FRUCHTERMAN_REINGOLD_FORCE_DIRECTED_LAYOUT_HPP
 #define BOOST_GRAPH_FRUCHTERMAN_REINGOLD_FORCE_DIRECTED_LAYOUT_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/graph/graph_traits.hpp>
 #include <boost/graph/named_function_params.hpp>
 #include <boost/graph/simple_point.hpp>

Modified: trunk/boost/graph/gursoy_atun_layout.hpp
==============================================================================
--- trunk/boost/graph/gursoy_atun_layout.hpp (original)
+++ trunk/boost/graph/gursoy_atun_layout.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -15,7 +15,7 @@
 // in EuroPar 2000, p. 234 of LNCS 1900
 // http://springerlink.metapress.com/link.asp?id=pcu07ew5rhexp9yt
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <vector>
 #include <exception>
 #include <algorithm>

Modified: trunk/boost/graph/kamada_kawai_spring_layout.hpp
==============================================================================
--- trunk/boost/graph/kamada_kawai_spring_layout.hpp (original)
+++ trunk/boost/graph/kamada_kawai_spring_layout.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #include <iterator>
 #include <vector>
 #include <boost/limits.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
   namespace detail { namespace graph {

Modified: trunk/boost/graph/plod_generator.hpp
==============================================================================
--- trunk/boost/graph/plod_generator.hpp (original)
+++ trunk/boost/graph/plod_generator.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #include <boost/graph/graph_traits.hpp>
 #include <vector>
 #include <map>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: trunk/boost/graph/wavefront.hpp
==============================================================================
--- trunk/boost/graph/wavefront.hpp (original)
+++ trunk/boost/graph/wavefront.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #include <boost/graph/graph_traits.hpp>
 #include <boost/detail/numeric_traits.hpp>
 #include <boost/graph/bandwidth.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <vector>
 #include <algorithm> // for std::min and std::max
 

Modified: trunk/boost/interprocess/allocators/detail/adaptive_node_pool.hpp
==============================================================================
--- trunk/boost/interprocess/allocators/detail/adaptive_node_pool.hpp (original)
+++ trunk/boost/interprocess/allocators/detail/adaptive_node_pool.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -30,7 +30,7 @@
 #include <boost/interprocess/allocators/detail/node_tools.hpp>
 #include <boost/interprocess/allocators/detail/allocator_common.hpp>
 #include <cstddef>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 
 //!\file

Modified: trunk/boost/intrusive/sgtree.hpp
==============================================================================
--- trunk/boost/intrusive/sgtree.hpp (original)
+++ trunk/boost/intrusive/sgtree.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -24,7 +24,7 @@
 #include <functional>
 #include <iterator>
 #include <utility>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstddef>
 #include <boost/intrusive/detail/assert.hpp>
 #include <boost/static_assert.hpp>

Modified: trunk/boost/nondet_random.hpp
==============================================================================
--- trunk/boost/nondet_random.hpp (original)
+++ trunk/boost/nondet_random.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -19,7 +19,7 @@
 
 #include <string> // std::abs
 #include <algorithm> // std::min
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/config.hpp>
 #include <boost/utility.hpp> // noncopyable
 #include <boost/integer_traits.hpp> // compile-time integral limits

Modified: trunk/boost/numeric/conversion/converter_policies.hpp
==============================================================================
--- trunk/boost/numeric/conversion/converter_policies.hpp (original)
+++ trunk/boost/numeric/conversion/converter_policies.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <typeinfo> // for std::bad_cast
 
-#include <cmath> // for std::floor and std::ceil
+#include <boost/config/no_tr1/cmath.hpp> // for std::floor and std::ceil
 
 #include <functional>
 

Modified: trunk/boost/numeric/interval/arith2.hpp
==============================================================================
--- trunk/boost/numeric/interval/arith2.hpp (original)
+++ trunk/boost/numeric/interval/arith2.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -23,7 +23,7 @@
 #include <boost/numeric/interval/policies.hpp>
 #include <algorithm>
 #include <cassert>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: trunk/boost/numeric/interval/detail/bugs.hpp
==============================================================================
--- trunk/boost/numeric/interval/detail/bugs.hpp (original)
+++ trunk/boost/numeric/interval/detail/bugs.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -48,7 +48,7 @@
 #if defined(__GNUC__) && (__GNUC__ <= 2)
 // cf PR c++/1981 for a description of the bug
 #include <algorithm>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 namespace boost {
 namespace numeric {
   using std::min;

Modified: trunk/boost/numeric/interval/rounded_arith.hpp
==============================================================================
--- trunk/boost/numeric/interval/rounded_arith.hpp (original)
+++ trunk/boost/numeric/interval/rounded_arith.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <boost/numeric/interval/rounding.hpp>
 #include <boost/numeric/interval/detail/bugs.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: trunk/boost/numeric/interval/rounded_transc.hpp
==============================================================================
--- trunk/boost/numeric/interval/rounded_transc.hpp (original)
+++ trunk/boost/numeric/interval/rounded_transc.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -12,7 +12,7 @@
 
 #include <boost/numeric/interval/rounding.hpp>
 #include <boost/numeric/interval/detail/bugs.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 namespace numeric {

Modified: trunk/boost/numeric/ublas/traits.hpp
==============================================================================
--- trunk/boost/numeric/ublas/traits.hpp (original)
+++ trunk/boost/numeric/ublas/traits.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -15,7 +15,7 @@
 
 #include <iterator>
 #include <complex>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/numeric/ublas/detail/config.hpp>
 #include <boost/numeric/ublas/detail/iterator.hpp>

Modified: trunk/boost/pending/fibonacci_heap.hpp
==============================================================================
--- trunk/boost/pending/fibonacci_heap.hpp (original)
+++ trunk/boost/pending/fibonacci_heap.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -8,7 +8,7 @@
 #if defined(__sgi) && !defined(__GNUC__)
 # include <math.h>
 #else
-# include <cmath>
+# include <boost/config/no_tr1/cmath.hpp>
 #endif
 #include <iosfwd>
 #include <vector>

Modified: trunk/boost/random/binomial_distribution.hpp
==============================================================================
--- trunk/boost/random/binomial_distribution.hpp (original)
+++ trunk/boost/random/binomial_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_BINOMIAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_BINOMIAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/random/bernoulli_distribution.hpp>
 

Modified: trunk/boost/random/cauchy_distribution.hpp
==============================================================================
--- trunk/boost/random/cauchy_distribution.hpp (original)
+++ trunk/boost/random/cauchy_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_CAUCHY_DISTRIBUTION_HPP
 #define BOOST_RANDOM_CAUCHY_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <boost/limits.hpp>
 #include <boost/static_assert.hpp>

Modified: trunk/boost/random/exponential_distribution.hpp
==============================================================================
--- trunk/boost/random/exponential_distribution.hpp (original)
+++ trunk/boost/random/exponential_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_EXPONENTIAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_EXPONENTIAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: trunk/boost/random/gamma_distribution.hpp
==============================================================================
--- trunk/boost/random/gamma_distribution.hpp (original)
+++ trunk/boost/random/gamma_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_GAMMA_DISTRIBUTION_HPP
 #define BOOST_RANDOM_GAMMA_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/limits.hpp>
 #include <boost/static_assert.hpp>

Modified: trunk/boost/random/geometric_distribution.hpp
==============================================================================
--- trunk/boost/random/geometric_distribution.hpp (original)
+++ trunk/boost/random/geometric_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_GEOMETRIC_DISTRIBUTION_HPP
 #define BOOST_RANDOM_GEOMETRIC_DISTRIBUTION_HPP
 
-#include <cmath> // std::log
+#include <boost/config/no_tr1/cmath.hpp> // std::log
 #include <cassert>
 #include <iostream>
 #include <boost/random/uniform_01.hpp>

Modified: trunk/boost/random/lagged_fibonacci.hpp
==============================================================================
--- trunk/boost/random/lagged_fibonacci.hpp (original)
+++ trunk/boost/random/lagged_fibonacci.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,11 +16,11 @@
 #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
 #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <algorithm> // std::max
 #include <iterator>
-#include <cmath> // std::pow
+#include <boost/config/no_tr1/cmath.hpp> // std::pow
 #include <boost/config.hpp>
 #include <boost/limits.hpp>
 #include <boost/cstdint.hpp>

Modified: trunk/boost/random/lognormal_distribution.hpp
==============================================================================
--- trunk/boost/random/lognormal_distribution.hpp (original)
+++ trunk/boost/random/lognormal_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_LOGNORMAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_LOGNORMAL_DISTRIBUTION_HPP
 
-#include <cmath> // std::exp, std::sqrt
+#include <boost/config/no_tr1/cmath.hpp> // std::exp, std::sqrt
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: trunk/boost/random/normal_distribution.hpp
==============================================================================
--- trunk/boost/random/normal_distribution.hpp (original)
+++ trunk/boost/random/normal_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_NORMAL_DISTRIBUTION_HPP
 #define BOOST_RANDOM_NORMAL_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: trunk/boost/random/poisson_distribution.hpp
==============================================================================
--- trunk/boost/random/poisson_distribution.hpp (original)
+++ trunk/boost/random/poisson_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -14,7 +14,7 @@
 #ifndef BOOST_RANDOM_POISSON_DISTRIBUTION_HPP
 #define BOOST_RANDOM_POISSON_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <iostream>
 #include <boost/limits.hpp>

Modified: trunk/boost/random/subtract_with_carry.hpp
==============================================================================
--- trunk/boost/random/subtract_with_carry.hpp (original)
+++ trunk/boost/random/subtract_with_carry.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,11 +16,11 @@
 #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
 #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 #include <algorithm> // std::equal
 #include <stdexcept>
-#include <cmath> // std::pow
+#include <boost/config/no_tr1/cmath.hpp> // std::pow
 #include <boost/config.hpp>
 #include <boost/limits.hpp>
 #include <boost/cstdint.hpp>

Modified: trunk/boost/random/triangle_distribution.hpp
==============================================================================
--- trunk/boost/random/triangle_distribution.hpp (original)
+++ trunk/boost/random/triangle_distribution.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #ifndef BOOST_RANDOM_TRIANGLE_DISTRIBUTION_HPP
 #define BOOST_RANDOM_TRIANGLE_DISTRIBUTION_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cassert>
 #include <boost/random/uniform_01.hpp>
 

Modified: trunk/boost/spirit/home/classic/core/primitives/impl/numerics.ipp
==============================================================================
--- trunk/boost/spirit/home/classic/core/primitives/impl/numerics.ipp (original)
+++ trunk/boost/spirit/home/classic/core/primitives/impl/numerics.ipp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -10,7 +10,7 @@
 #ifndef BOOST_SPIRIT_NUMERICS_IPP
 #define BOOST_SPIRIT_NUMERICS_IPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <limits>
 
 namespace boost { namespace spirit {

Modified: trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -10,7 +10,7 @@
 #pragma once // MS compatible compilers support #pragma once
 #endif
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <limits>
 
 #include <boost/type_traits/is_integral.hpp>

Modified: trunk/boost/spirit/home/karma/numeric/real.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/real.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/real.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -18,7 +18,7 @@
 #include <boost/spirit/home/karma/char.hpp>
 #include <boost/spirit/home/karma/numeric/int.hpp>
 #include <boost/spirit/home/karma/numeric/detail/numeric_utils.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost { namespace spirit { namespace karma
 {

Modified: trunk/boost/spirit/home/karma/numeric/real_policies.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/real_policies.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/real_policies.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -14,7 +14,7 @@
 #include <boost/spirit/home/karma/generate.hpp>
 #include <boost/spirit/home/karma/char.hpp>
 #include <boost/spirit/home/karma/numeric/int.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/spirit/home/support/detail/math/fpclassify.hpp>
 
 namespace boost { namespace spirit { namespace karma

Modified: trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp (original)
+++ trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -9,7 +9,7 @@
 #if !defined(SPIRIT_REAL_IMPL_APR_18_2006_0901AM)
 #define SPIRIT_REAL_IMPL_APR_18_2006_0901AM
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/spirit/home/support/unused.hpp>
 

Modified: trunk/boost/spirit/home/support/detail/math/fpclassify.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/math/fpclassify.hpp (original)
+++ trunk/boost/spirit/home/support/detail/math/fpclassify.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -38,7 +38,7 @@
 depending on whether all the mantissa bits are copied or not.
 */
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #ifndef FP_INFINITE
 # define FP_INFINITE 0

Modified: trunk/boost/test/impl/plain_report_formatter.ipp
==============================================================================
--- trunk/boost/test/impl/plain_report_formatter.ipp (original)
+++ trunk/boost/test/impl/plain_report_formatter.ipp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -25,7 +25,7 @@
 
 // STL
 #include <iomanip>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iostream>
 
 #include <boost/test/detail/suppress_warnings.hpp>

Modified: trunk/boost/tr1/complex.hpp
==============================================================================
--- trunk/boost/tr1/complex.hpp (original)
+++ trunk/boost/tr1/complex.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -41,7 +41,7 @@
 #include <boost/tr1/detail/math_overloads.hpp>
 #include <boost/assert.hpp>
 #include <boost/detail/workaround.hpp>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace std{
 

Modified: trunk/boost/units/cmath.hpp
==============================================================================
--- trunk/boost/units/cmath.hpp (original)
+++ trunk/boost/units/cmath.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -19,7 +19,7 @@
     #include <boost/units/detail/cmath_boost_1_35.hpp>
 #else
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib>
 
 #include <boost/math/special_functions/fpclassify.hpp>

Modified: trunk/boost/units/detail/cmath_boost_1_35.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_boost_1_35.hpp (original)
+++ trunk/boost/units/detail/cmath_boost_1_35.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_CMATH_BOOST_1_35_HPP
 #define BOOST_UNITS_CMATH_BOOST_1_35_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <cstdlib>
 
 #include <boost/units/dimensionless_quantity.hpp>

Modified: trunk/boost/units/detail/cmath_gnu_impl.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_gnu_impl.hpp (original)
+++ trunk/boost/units/detail/cmath_gnu_impl.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if (__GNUC__ && __cplusplus && __GNUC__ >= 3)
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: trunk/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp (original)
+++ trunk/boost/units/detail/cmath_gnu_impl_boost_1_35.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if (__GNUC__ && __cplusplus && __GNUC__ >= 3)
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 namespace boost {
 

Modified: trunk/boost/units/detail/cmath_msvc_impl.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_msvc_impl.hpp (original)
+++ trunk/boost/units/detail/cmath_msvc_impl.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #if defined(BOOST_MSVC) || (defined(__COMO__) && defined(_MSC_VER))
 
 #include <cfloat>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/static_warning.hpp>
 #include <boost/math/special_functions/round.hpp>

Modified: trunk/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp (original)
+++ trunk/boost/units/detail/cmath_msvc_impl_boost_1_35.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -16,7 +16,7 @@
 #if defined(BOOST_MSVC) || (defined(__COMO__) && defined(_MSC_VER))
 
 #include <cfloat>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/static_warning.hpp>
 #include <boost/mpl/bool.hpp>

Modified: trunk/boost/units/detail/cmath_mwcw_impl.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_mwcw_impl.hpp (original)
+++ trunk/boost/units/detail/cmath_mwcw_impl.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if __MWERKS__
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/config.hpp>
 

Modified: trunk/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp
==============================================================================
--- trunk/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp (original)
+++ trunk/boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -13,7 +13,7 @@
 
 #if __MWERKS__
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 // BOOST_PREVENT_MACRO_SUBSTITUTION is used for all functions even though it
 // isn't necessary -- I didn't want to think :)

Modified: trunk/boost/units/detail/static_rational_power.hpp
==============================================================================
--- trunk/boost/units/detail/static_rational_power.hpp (original)
+++ trunk/boost/units/detail/static_rational_power.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_DETAIL_STATIC_RATIONAL_POWER_HPP
 #define BOOST_UNITS_DETAIL_STATIC_RATIONAL_POWER_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/detail/one.hpp>
 #include <boost/units/operators.hpp>

Modified: trunk/boost/units/systems/angle/degrees.hpp
==============================================================================
--- trunk/boost/units/systems/angle/degrees.hpp (original)
+++ trunk/boost/units/systems/angle/degrees.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_DEGREE_HPP
 #define BOOST_UNITS_ANGLE_DEGREE_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: trunk/boost/units/systems/angle/gradians.hpp
==============================================================================
--- trunk/boost/units/systems/angle/gradians.hpp (original)
+++ trunk/boost/units/systems/angle/gradians.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_GRADIANS_HPP
 #define BOOST_UNITS_ANGLE_GRADIANS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: trunk/boost/units/systems/angle/revolutions.hpp
==============================================================================
--- trunk/boost/units/systems/angle/revolutions.hpp (original)
+++ trunk/boost/units/systems/angle/revolutions.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_ANGLE_REVOLUTIONS_HPP
 #define BOOST_UNITS_ANGLE_REVOLUTIONS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 
 #include <boost/units/conversion.hpp>
 #include <boost/units/io.hpp>

Modified: trunk/boost/units/systems/detail/constants.hpp
==============================================================================
--- trunk/boost/units/systems/detail/constants.hpp (original)
+++ trunk/boost/units/systems/detail/constants.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -11,7 +11,7 @@
 #ifndef BOOST_UNITS_CONSTANTS_HPP
 #define BOOST_UNITS_CONSTANTS_HPP
 
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <iosfwd>
 #include <iomanip>
 

Modified: trunk/boost/unordered/detail/hash_table.hpp
==============================================================================
--- trunk/boost/unordered/detail/hash_table.hpp (original)
+++ trunk/boost/unordered/detail/hash_table.hpp 2008-10-10 12:10:00 EDT (Fri, 10 Oct 2008)
@@ -14,7 +14,7 @@
 #include <boost/config.hpp>
 
 #include <cstddef>
-#include <cmath>
+#include <boost/config/no_tr1/cmath.hpp>
 #include <algorithm>
 #include <utility>
 #include <stdexcept>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk