Skip to content

Commit

Permalink
Removed Boost's header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Oct 8, 2024
1 parent 8d65c03 commit 4e24ac8
Show file tree
Hide file tree
Showing 70 changed files with 72 additions and 479 deletions.
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/complex128.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#ifndef BOOST_MP_COMPLEX128_HPP
#define BOOST_MP_COMPLEX128_HPP
#pragma once

#include <nil/crypto3/multiprecision/float128.hpp>
#include <nil/crypto3/multiprecision/complex_adaptor.hpp>
Expand All @@ -23,5 +22,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/complex_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#ifndef BOOST_MULTIPRECISION_COMPLEX_ADAPTOR_HPP
#define BOOST_MULTIPRECISION_COMPLEX_ADAPTOR_HPP
#pragma once

#include <nil/crypto3/multiprecision/number.hpp>
#include <cstdint>
Expand Down Expand Up @@ -834,5 +833,3 @@ namespace nil {

} // namespace crypto3
} // namespace nil

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MATH_CONCEPTS_ER_HPP
#define BOOST_MATH_CONCEPTS_ER_HPP
#pragma once

#include <iostream>
#include <sstream>
Expand Down Expand Up @@ -242,5 +241,3 @@ namespace std {
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_bin_float.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MATH_CPP_BIN_FLOAT_HPP
#define BOOST_MATH_CPP_BIN_FLOAT_HPP
#pragma once

#include <nil/crypto3/multiprecision/cpp_int.hpp>
#include <nil/crypto3/multiprecision/integer.hpp>
Expand Down Expand Up @@ -2401,5 +2400,3 @@ namespace std {
ExpressionTemplates>>::round_style;

} // namespace std

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_bin_float/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_BIN_FLOAT_IO_HPP
#define BOOST_MP_CPP_BIN_FLOAT_IO_HPP
#pragma once

namespace nil {
namespace crypto3 {
Expand Down Expand Up @@ -693,5 +692,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#ifndef BOOST_MP_CPP_COMPLEX_HPP
#define BOOST_MP_CPP_COMPLEX_HPP
#pragma once

#include <nil/crypto3/multiprecision/cpp_bin_float.hpp>
#include <nil/crypto3/multiprecision/complex_adaptor.hpp>
Expand Down Expand Up @@ -37,5 +36,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_dec_float.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
// can detect noexcept misuse at compile time, the only realistic option is to simply not use it here.
//

#ifndef BOOST_MP_CPP_DEC_FLOAT_BACKEND_HPP
#define BOOST_MP_CPP_DEC_FLOAT_BACKEND_HPP
#pragma once

#include <boost/config.hpp>
#include <cstdint>
Expand Down Expand Up @@ -3555,5 +3554,3 @@ namespace boost {
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif

#endif
6 changes: 1 addition & 5 deletions include/nil/crypto3/multiprecision/cpp_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_INT_HPP
#define BOOST_MP_CPP_INT_HPP
#pragma once

#ifndef TVM
#include <iostream>
Expand Down Expand Up @@ -2767,9 +2766,6 @@ namespace nil {
#include <nil/crypto3/multiprecision/cpp_int/bitwise.hpp>
#include <nil/crypto3/multiprecision/cpp_int/misc.hpp>
#include <nil/crypto3/multiprecision/cpp_int/literals.hpp>
#include <nil/crypto3/multiprecision/cpp_int/serialize.hpp>
#include <nil/crypto3/multiprecision/cpp_int/import_export.hpp>
#include <nil/crypto3/multiprecision/cpp_int/eval_jacobi.hpp>
//#include <nil/crypto3/multiprecision/cpp_int/eval_ressol.hpp>

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/add.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_ADD_HPP
#define BOOST_MP_CPP_INT_ADD_HPP
#pragma once

#include <nil/crypto3/multiprecision/detail/constexpr.hpp>
#include <nil/crypto3/multiprecision/cpp_int/add_unsigned.hpp>
Expand Down Expand Up @@ -605,5 +604,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/add_unsigned.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_ADD_UNSIGNED_ADDC_32_HPP
#define BOOST_MP_ADD_UNSIGNED_ADDC_32_HPP
#pragma once

#include <nil/crypto3/multiprecision/cpp_int/intel_intrinsics.hpp>

Expand Down Expand Up @@ -382,5 +381,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/bitwise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_BIT_HPP
#define BOOST_MP_CPP_INT_BIT_HPP
#pragma once

#ifdef _MSC_VER
#pragma warning(push)
Expand Down Expand Up @@ -962,5 +961,3 @@ namespace nil {
#ifdef _MSC_VER
#pragma warning(pop)
#endif

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/checked.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_INT_CHECKED_HPP
#define BOOST_MP_CPP_INT_CHECKED_HPP
#pragma once

namespace nil {
namespace crypto3 {
Expand Down Expand Up @@ -151,5 +150,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/comparison.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_COMPARISON_HPP
#define BOOST_MP_CPP_INT_COMPARISON_HPP
#pragma once

#include <nil/crypto3/multiprecision/detail/constexpr.hpp>

Expand Down Expand Up @@ -396,5 +395,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_INT_CORE_HPP
#define BOOST_MP_CPP_INT_CORE_HPP
#pragma once

#include <boost/integer.hpp>
#include <boost/integer_traits.hpp>
Expand Down Expand Up @@ -222,5 +221,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif // BOOST_MP_CPP_INT_CORE_HPP
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/divide.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_DIV_HPP
#define BOOST_MP_CPP_INT_DIV_HPP
#pragma once

namespace nil {
namespace crypto3 {
Expand Down Expand Up @@ -720,5 +719,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/eval_jacobi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
// http://www.boost.org/LICENSE_1_0.txt
//---------------------------------------------------------------------------//

#ifndef BOOST_MULTIPRECISION_EVAL_JACOBI_HPP
#define BOOST_MULTIPRECISION_EVAL_JACOBI_HPP
#pragma once

#include <nil/crypto3/multiprecision/detail/default_ops.hpp>

Expand Down Expand Up @@ -82,5 +81,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif // BOOST_MULTIPRECISION_EVAL_JACOBI_HPP
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/import_export.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_INT_IMPORT_EXPORT_HPP
#define BOOST_MP_CPP_INT_IMPORT_EXPORT_HPP
#pragma once

#include <nil/crypto3/multiprecision/traits/conditional_make_unsigned.hpp>

Expand Down Expand Up @@ -276,5 +275,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif // BOOST_MP_CPP_INT_IMPORT_EXPORT_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_INTEL_INTRINSICS_HPP
#define BOOST_MP_INTEL_INTRINSICS_HPP
#pragma once

//
// Select which actual implementation header to use:
//
Expand Down Expand Up @@ -126,5 +126,3 @@ namespace nil {
#endif

#endif

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/limits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_LIM_HPP
#define BOOST_MP_CPP_INT_LIM_HPP
#pragma once

#include <nil/crypto3/multiprecision/traits/max_digits10.hpp>

Expand Down Expand Up @@ -482,5 +481,3 @@ namespace std {
#endif

} // namespace std

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/literals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt

#ifndef BOOST_MP_CPP_INT_LITERALS_HPP
#define BOOST_MP_CPP_INT_LITERALS_HPP
#pragma once

#include <nil/crypto3/multiprecision/cpp_int/cpp_int_config.hpp>

Expand Down Expand Up @@ -292,5 +291,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif // BOOST_MP_CPP_INT_CORE_HPP
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/misc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_MISC_HPP
#define BOOST_MP_CPP_INT_MISC_HPP
#pragma once

#include <nil/crypto3/multiprecision/detail/constexpr.hpp>
#include <nil/crypto3/multiprecision/detail/bitscan.hpp> // lsb etc
Expand Down Expand Up @@ -1542,5 +1541,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
5 changes: 1 addition & 4 deletions include/nil/crypto3/multiprecision/cpp_int/multiply.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
//
// Comparison operators for cpp_int_backend:
//
#ifndef BOOST_MP_CPP_INT_MUL_HPP
#define BOOST_MP_CPP_INT_MUL_HPP
#pragma once

#include <nil/crypto3/multiprecision/integer.hpp>

Expand Down Expand Up @@ -1009,5 +1008,3 @@ namespace nil {
} // namespace multiprecision
} // namespace crypto3
} // namespace nil

#endif
Loading

0 comments on commit 4e24ac8

Please sign in to comment.