Fix include guards without leading underscore

Remove leading undescore from the macro names, make them legal C++.
This commit is contained in:
Mateusz Łoskot
2018-09-14 23:06:02 +02:00
parent fe036c9739
commit ae4f87ceff
29 changed files with 58 additions and 58 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>