mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-29 07:32:23 +00:00
Fix include guards without leading underscore
Remove leading undescore from the macro names, make them legal C++.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_HISTOGRAM_HPP_
|
||||
#define BOOST_HISTOGRAM_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_HPP
|
||||
#define BOOST_HISTOGRAM_HPP
|
||||
|
||||
#include <boost/histogram/axis/any.hpp>
|
||||
#include <boost/histogram/axis/types.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_HISTOGRAM_ARITHMETIC_OPERATORS_HPP_
|
||||
#define _BOOST_HISTOGRAM_HISTOGRAM_ARITHMETIC_OPERATORS_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_HISTOGRAM_ARITHMETIC_OPERATORS_HPP
|
||||
#define BOOST_HISTOGRAM_HISTOGRAM_ARITHMETIC_OPERATORS_HPP
|
||||
|
||||
#include <boost/histogram/histogram_fwd.hpp>
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_ANY_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_ANY_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_ANY_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_ANY_HPP
|
||||
|
||||
#include <boost/histogram/axis/base.hpp>
|
||||
#include <boost/histogram/axis/interval_view.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_BASE_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_BASE_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_BASE_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_BASE_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/container/string.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_INTERVAL_VIEW_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_INTERVAL_VIEW_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_INTERVAL_VIEW_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_INTERVAL_VIEW_HPP
|
||||
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_ITERATOR_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_ITERATOR_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_ITERATOR_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_ITERATOR_HPP
|
||||
|
||||
#include <boost/iterator/iterator_facade.hpp>
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
//
|
||||
// String representations here evaluate correctly in Python.
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_OSTREAM_OPERATORS_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_OSTREAM_OPERATORS_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_OSTREAM_OPERATORS_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_OSTREAM_OPERATORS_HPP
|
||||
|
||||
#include <boost/histogram/axis/interval_view.hpp>
|
||||
#include <boost/histogram/axis/types.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_TYPES_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_TYPES_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_TYPES_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_TYPES_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/histogram/axis/base.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_AXIS_VALUE_VIEW_HPP_
|
||||
#define _BOOST_HISTOGRAM_AXIS_VALUE_VIEW_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_AXIS_VALUE_VIEW_HPP
|
||||
#define BOOST_HISTOGRAM_AXIS_VALUE_VIEW_HPP
|
||||
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_AXES_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_AXES_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_AXES_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_AXES_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_BUFFER_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_BUFFER_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_BUFFER_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_BUFFER_HPP
|
||||
|
||||
#include <boost/histogram/detail/meta.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_CAT_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_CAT_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_CAT_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_CAT_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <sstream>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_INDEX_CACHE_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_INDEX_CACHE_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_INDEX_CACHE_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_INDEX_CACHE_HPP
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_INDEX_MAPPER_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_INDEX_MAPPER_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_INDEX_MAPPER_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_INDEX_MAPPER_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_DETAIL_META_HPP_
|
||||
#define _BOOST_HISTOGRAM_DETAIL_META_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_DETAIL_META_HPP
|
||||
#define BOOST_HISTOGRAM_DETAIL_META_HPP
|
||||
|
||||
#include <boost/callable_traits/args.hpp>
|
||||
#include <boost/mp11.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_HISTOGRAM_HPP_
|
||||
#define _BOOST_HISTOGRAM_HISTOGRAM_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_HISTOGRAM_HPP
|
||||
#define BOOST_HISTOGRAM_HISTOGRAM_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_HISTOGRAM_FWD_HPP_
|
||||
#define _BOOST_HISTOGRAM_HISTOGRAM_FWD_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_HISTOGRAM_FWD_HPP
|
||||
#define BOOST_HISTOGRAM_HISTOGRAM_FWD_HPP
|
||||
|
||||
#include <memory> // for std::allocator
|
||||
#include <vector>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_VALUE_ITERATOR_HPP_
|
||||
#define _BOOST_HISTOGRAM_VALUE_ITERATOR_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_VALUE_ITERATOR_HPP
|
||||
#define BOOST_HISTOGRAM_VALUE_ITERATOR_HPP
|
||||
|
||||
#include <boost/histogram/detail/index_cache.hpp>
|
||||
#include <boost/histogram/histogram_fwd.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_LITERALS_HPP_
|
||||
#define _BOOST_HISTOGRAM_LITERALS_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_LITERALS_HPP
|
||||
#define BOOST_HISTOGRAM_LITERALS_HPP
|
||||
|
||||
#include <boost/mp11.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_OSTREAM_OPERATORS_HPP_
|
||||
#define _BOOST_HISTOGRAM_OSTREAM_OPERATORS_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_OSTREAM_OPERATORS_HPP
|
||||
#define BOOST_HISTOGRAM_OSTREAM_OPERATORS_HPP
|
||||
|
||||
#include <boost/histogram/axis/ostream_operators.hpp>
|
||||
#include <boost/histogram/histogram_fwd.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_HISTOGRAM_SERIALIZATION_HPP_
|
||||
#define BOOST_HISTOGRAM_SERIALIZATION_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_SERIALIZATION_HPP
|
||||
#define BOOST_HISTOGRAM_SERIALIZATION_HPP
|
||||
|
||||
#include <boost/container/string.hpp>
|
||||
#include <boost/histogram/axis/any.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_STORAGE_ADAPTIVE_HPP_
|
||||
#define _BOOST_HISTOGRAM_STORAGE_ADAPTIVE_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_STORAGE_ADAPTIVE_HPP
|
||||
#define BOOST_HISTOGRAM_STORAGE_ADAPTIVE_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_STORAGE_ARRAY_HPP_
|
||||
#define _BOOST_HISTOGRAM_STORAGE_ARRAY_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_STORAGE_ARRAY_HPP
|
||||
#define BOOST_HISTOGRAM_STORAGE_ARRAY_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/histogram/detail/meta.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_STORAGE_OPERATORS_HPP_
|
||||
#define _BOOST_HISTOGRAM_STORAGE_OPERATORS_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_STORAGE_OPERATORS_HPP
|
||||
#define BOOST_HISTOGRAM_STORAGE_OPERATORS_HPP
|
||||
|
||||
#include <boost/histogram/detail/meta.hpp>
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_STORAGE_WEIGHT_COUNTER_HPP_
|
||||
#define _BOOST_HISTOGRAM_STORAGE_WEIGHT_COUNTER_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_STORAGE_WEIGHT_COUNTER_HPP
|
||||
#define BOOST_HISTOGRAM_STORAGE_WEIGHT_COUNTER_HPP
|
||||
|
||||
#include <boost/histogram/weight.hpp>
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_WEIGHT_HPP_
|
||||
#define _BOOST_HISTOGRAM_WEIGHT_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_WEIGHT_HPP
|
||||
#define BOOST_HISTOGRAM_WEIGHT_HPP
|
||||
|
||||
namespace boost {
|
||||
namespace histogram {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_PYTHON_SERIALIZATION_SUITE_HPP_
|
||||
#define _BOOST_HISTOGRAM_PYTHON_SERIALIZATION_SUITE_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_PYTHON_SERIALIZATION_SUITE_HPP
|
||||
#define BOOST_HISTOGRAM_PYTHON_SERIALIZATION_SUITE_HPP
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/archive/text_iarchive.hpp>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef _BOOST_HISTOGRAM_PYTHON_UTILITY_HPP_
|
||||
#define _BOOST_HISTOGRAM_PYTHON_UTILITY_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_PYTHON_UTILITY_HPP
|
||||
#define BOOST_HISTOGRAM_PYTHON_UTILITY_HPP
|
||||
|
||||
#include <boost/python/str.hpp>
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_HISTOGRAM_TEST_UTILITY_HPP_
|
||||
#define BOOST_HISTOGRAM_TEST_UTILITY_HPP_
|
||||
#ifndef BOOST_HISTOGRAM_TEST_UTILITY_HPP
|
||||
#define BOOST_HISTOGRAM_TEST_UTILITY_HPP
|
||||
|
||||
#include <boost/histogram/histogram.hpp>
|
||||
#include <boost/mp11/integral.hpp>
|
||||
|
||||
Reference in New Issue
Block a user