|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83308 - in trunk/boost/accumulators: framework/parameters numeric statistics statistics/parameters statistics/variates
From: eric_at_[hidden]
Date: 2013-03-05 02:08:35
Author: eric_niebler
Date: 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
New Revision: 83308
URL: http://svn.boost.org/trac/boost/changeset/83308
Log:
silence unused variable warnings, refs #6926
Text files modified:
trunk/boost/accumulators/framework/parameters/accumulator.hpp | 2 ++
trunk/boost/accumulators/framework/parameters/sample.hpp | 2 ++
trunk/boost/accumulators/framework/parameters/weight.hpp | 2 ++
trunk/boost/accumulators/framework/parameters/weights.hpp | 2 ++
trunk/boost/accumulators/numeric/functional.hpp | 10 ++++++++++
trunk/boost/accumulators/statistics/density.hpp | 4 ++++
trunk/boost/accumulators/statistics/extended_p_square.hpp | 4 +++-
trunk/boost/accumulators/statistics/p_square_cumul_dist.hpp | 3 +++
trunk/boost/accumulators/statistics/parameters/quantile_probability.hpp | 3 +++
trunk/boost/accumulators/statistics/peaks_over_threshold.hpp | 4 ++++
trunk/boost/accumulators/statistics/rolling_window.hpp | 3 +++
trunk/boost/accumulators/statistics/tail.hpp | 4 ++++
trunk/boost/accumulators/statistics/variates/covariate.hpp | 4 ++++
13 files changed, 46 insertions(+), 1 deletions(-)
Modified: trunk/boost/accumulators/framework/parameters/accumulator.hpp
==============================================================================
--- trunk/boost/accumulators/framework/parameters/accumulator.hpp (original)
+++ trunk/boost/accumulators/framework/parameters/accumulator.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,11 +9,13 @@
#define BOOST_ACCUMULATORS_FRAMEWORK_PARAMETERS_ACCUMULATOR_HPP_EAN_31_10_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
BOOST_PARAMETER_KEYWORD(tag, accumulator)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(accumulator)
}} // namespace boost::accumulators
Modified: trunk/boost/accumulators/framework/parameters/sample.hpp
==============================================================================
--- trunk/boost/accumulators/framework/parameters/sample.hpp (original)
+++ trunk/boost/accumulators/framework/parameters/sample.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,11 +9,13 @@
#define BOOST_ACCUMULATORS_FRAMEWORK_PARAMETERS_SAMPLE_HPP_EAN_31_10_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
BOOST_PARAMETER_KEYWORD(tag, sample)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(sample)
}} // namespace boost::accumulators
Modified: trunk/boost/accumulators/framework/parameters/weight.hpp
==============================================================================
--- trunk/boost/accumulators/framework/parameters/weight.hpp (original)
+++ trunk/boost/accumulators/framework/parameters/weight.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,12 +9,14 @@
#define BOOST_ACCUMULATORS_FRAMEWORK_PARAMETERS_WEIGHT_HPP_EAN_31_10_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
// The weight of a single sample
BOOST_PARAMETER_KEYWORD(tag, weight)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(weight)
}} // namespace boost::accumulators
Modified: trunk/boost/accumulators/framework/parameters/weights.hpp
==============================================================================
--- trunk/boost/accumulators/framework/parameters/weights.hpp (original)
+++ trunk/boost/accumulators/framework/parameters/weights.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,12 +9,14 @@
#define BOOST_ACCUMULATORS_FRAMEWORK_PARAMETERS_WEIGHTS_HPP_EAN_28_10_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
// The weight accumulator
BOOST_PARAMETER_KEYWORD(tag, weights)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(weights)
}} // namespace boost::accumulators
Modified: trunk/boost/accumulators/numeric/functional.hpp
==============================================================================
--- trunk/boost/accumulators/numeric/functional.hpp (original)
+++ trunk/boost/accumulators/numeric/functional.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -20,6 +20,7 @@
#include <boost/type_traits/is_floating_point.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/typeof/typeof.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/numeric/functional_fwd.hpp>
#include <boost/accumulators/numeric/detail/function1.hpp>
#include <boost/accumulators/numeric/detail/function2.hpp>
@@ -166,6 +167,7 @@
{ \
op::Name const &Name = boost::detail::pod_singleton<op::Name>::instance; \
} \
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(Name) \
/**/
/// INTERNAL ONLY
@@ -416,6 +418,14 @@
op::as_max const &as_max = boost::detail::pod_singleton<op::as_max>::instance;
op::as_zero const &as_zero = boost::detail::pod_singleton<op::as_zero>::instance;
op::as_one const &as_one = boost::detail::pod_singleton<op::as_one>::instance;
+
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(min_assign)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(max_assign)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(average)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(as_min)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(as_max)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(as_zero)
+ BOOST_ACCUMULATORS_IGNORE_GLOBAL(as_one)
}
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/density.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/density.hpp (original)
+++ trunk/boost/accumulators/statistics/density.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -15,6 +15,7 @@
#include <boost/range.hpp>
#include <boost/parameter/keyword.hpp>
#include <boost/mpl/placeholders.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/numeric/functional.hpp>
@@ -34,6 +35,9 @@
BOOST_PARAMETER_NESTED_KEYWORD(tag, density_cache_size, cache_size)
BOOST_PARAMETER_NESTED_KEYWORD(tag, density_num_bins, num_bins)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(density_cache_size)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(density_num_bins)
+
namespace impl
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/extended_p_square.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/extended_p_square.hpp (original)
+++ trunk/boost/accumulators/statistics/extended_p_square.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -18,7 +18,7 @@
#include <boost/iterator/permutation_iterator.hpp>
#include <boost/parameter/keyword.hpp>
#include <boost/mpl/placeholders.hpp>
-#include <boost/accumulators/framework/accumulator_base.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/numeric/functional.hpp>
#include <boost/accumulators/framework/parameters/sample.hpp>
@@ -34,6 +34,8 @@
//
BOOST_PARAMETER_NESTED_KEYWORD(tag, extended_p_square_probabilities, probabilities)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(extended_p_square_probabilities)
+
namespace impl
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/p_square_cumul_dist.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/p_square_cumul_dist.hpp (original)
+++ trunk/boost/accumulators/statistics/p_square_cumul_dist.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -13,6 +13,7 @@
#include <boost/parameter/keyword.hpp>
#include <boost/range.hpp>
#include <boost/mpl/placeholders.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/numeric/functional.hpp>
@@ -27,6 +28,8 @@
//
BOOST_PARAMETER_NESTED_KEYWORD(tag, p_square_cumulative_distribution_num_cells, num_cells)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(p_square_cumulative_distribution_num_cells)
+
namespace impl
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/parameters/quantile_probability.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/parameters/quantile_probability.hpp (original)
+++ trunk/boost/accumulators/statistics/parameters/quantile_probability.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,12 +9,15 @@
#define BOOST_ACCUMULATORS_STATISTICS_PARAMETERS_QUANTILE_PROBABILITY_HPP_EAN_03_11_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
BOOST_PARAMETER_KEYWORD(tag, quantile_probability)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(quantile_probability)
+
}} // namespace boost::accumulators
#endif
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 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -22,6 +22,7 @@
#include <boost/mpl/placeholders.hpp>
#include <boost/parameter/keyword.hpp>
#include <boost/tuple/tuple.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/numeric/functional.hpp>
@@ -46,6 +47,9 @@
BOOST_PARAMETER_NESTED_KEYWORD(tag, pot_threshold_value, threshold_value)
BOOST_PARAMETER_NESTED_KEYWORD(tag, pot_threshold_probability, threshold_probability)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(pot_threshold_value)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(pot_threshold_probability)
+
namespace impl
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/rolling_window.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/rolling_window.hpp (original)
+++ trunk/boost/accumulators/statistics/rolling_window.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -13,6 +13,7 @@
#include <boost/assert.hpp>
#include <boost/circular_buffer.hpp>
#include <boost/range/iterator_range.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/framework/depends_on.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
@@ -28,6 +29,8 @@
// tag::rolling_window::size named parameter
BOOST_PARAMETER_NESTED_KEYWORD(tag, rolling_window_size, window_size)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(rolling_window_size)
+
namespace impl
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/tail.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/tail.hpp (original)
+++ trunk/boost/accumulators/statistics/tail.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -18,6 +18,7 @@
#include <boost/parameter/keyword.hpp>
#include <boost/iterator/reverse_iterator.hpp>
#include <boost/iterator/permutation_iterator.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
#include <boost/accumulators/framework/accumulator_base.hpp>
#include <boost/accumulators/framework/extractor.hpp>
#include <boost/accumulators/numeric/functional.hpp>
@@ -32,6 +33,9 @@
BOOST_PARAMETER_NESTED_KEYWORD(tag, right_tail_cache_size, cache_size)
BOOST_PARAMETER_NESTED_KEYWORD(tag, left_tail_cache_size, cache_size)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(right_tail_cache_size)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(left_tail_cache_size)
+
namespace detail
{
///////////////////////////////////////////////////////////////////////////////
Modified: trunk/boost/accumulators/statistics/variates/covariate.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/variates/covariate.hpp (original)
+++ trunk/boost/accumulators/statistics/variates/covariate.hpp 2013-03-05 02:08:33 EST (Tue, 05 Mar 2013)
@@ -9,6 +9,7 @@
#define BOOST_ACCUMULATORS_STATISTICS_VARIATES_COVARIATE_HPP_EAN_03_11_2005
#include <boost/parameter/keyword.hpp>
+#include <boost/accumulators/accumulators_fwd.hpp>
namespace boost { namespace accumulators
{
@@ -16,6 +17,9 @@
BOOST_PARAMETER_KEYWORD(tag, covariate1)
BOOST_PARAMETER_KEYWORD(tag, covariate2)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(covariate1)
+BOOST_ACCUMULATORS_IGNORE_GLOBAL(covariate2)
+
}} // namespace boost::accumulators
#endif
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