Skip to content

Commit f6aa3b0

Browse files
Merge pull request #599 from JohanMabille/include
Addind required STL headers where needed
2 parents 4c422f8 + 4b7c9b9 commit f6aa3b0

26 files changed

+72
-22
lines changed

include/xsimd/arch/generic/xsimd_generic_arithmetic.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
#ifndef XSIMD_GENERIC_ARITHMETIC_HPP
1313
#define XSIMD_GENERIC_ARITHMETIC_HPP
1414

15-
#include "./xsimd_generic_details.hpp"
15+
#include <complex>
16+
#include <type_traits>
1617

18+
#include "./xsimd_generic_details.hpp"
1719

1820
namespace xsimd {
1921

include/xsimd/arch/generic/xsimd_generic_complex.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef XSIMD_GENERIC_COMPLEX_HPP
1313
#define XSIMD_GENERIC_COMPLEX_HPP
1414

15+
#include <complex>
16+
1517
#include "./xsimd_generic_details.hpp"
1618

1719
namespace xsimd {

include/xsimd/arch/generic/xsimd_generic_details.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@
1212
#ifndef XSIMD_GENERIC_DETAILS_HPP
1313
#define XSIMD_GENERIC_DETAILS_HPP
1414

15+
#include <complex>
16+
1517
#include "../../types/xsimd_generic_arch.hpp"
1618
#include "../../types/xsimd_utils.hpp"
1719
#include "../../math/xsimd_rem_pio2.hpp"
1820
#include "../xsimd_constants.hpp"
1921

20-
#include <limits>
21-
#include <tuple>
22-
23-
2422
namespace xsimd {
2523
// Forward declaration. Should we put them in a separate file?
2624
template<class T, class A>

include/xsimd/arch/generic/xsimd_generic_math.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef XSIMD_GENERIC_MATH_HPP
1313
#define XSIMD_GENERIC_MATH_HPP
1414

15+
#include <type_traits>
16+
1517
#include "./xsimd_generic_details.hpp"
1618
#include "./xsimd_generic_trigo.hpp"
1719
#include "../xsimd_scalar.hpp"

include/xsimd/arch/generic/xsimd_generic_memory.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#ifndef XSIMD_GENERIC_MEMORY_HPP
1313
#define XSIMD_GENERIC_MEMORY_HPP
1414

15+
#include <algorithm>
16+
#include <complex>
17+
#include <stdexcept>
18+
1519
#include "./xsimd_generic_details.hpp"
1620

1721

include/xsimd/arch/xsimd_avx.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
#ifndef XSIMD_AVX_HPP
1313
#define XSIMD_AVX_HPP
1414

15-
#include "../types/xsimd_avx_register.hpp"
15+
#include <complex>
16+
#include <limits>
17+
#include <type_traits>
1618

19+
#include "../types/xsimd_avx_register.hpp"
1720

1821
namespace xsimd {
1922

include/xsimd/arch/xsimd_avx2.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#ifndef XSIMD_AVX2_HPP
1313
#define XSIMD_AVX2_HPP
1414

15+
#include <complex>
16+
#include <type_traits>
17+
1518
#include "../types/xsimd_avx2_register.hpp"
1619

1720

include/xsimd/arch/xsimd_avx512bw.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef XSIMD_AVX512BW_HPP
1313
#define XSIMD_AVX512BW_HPP
1414

15+
#include <type_traits>
16+
1517
#include "../types/xsimd_avx512bw_register.hpp"
1618

1719
namespace xsimd {

include/xsimd/arch/xsimd_avx512f.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#ifndef XSIMD_AVX512F_HPP
1313
#define XSIMD_AVX512F_HPP
1414

15+
#include <complex>
16+
#include <limits>
17+
#include <type_traits>
18+
1519
#include "../types/xsimd_avx512f_register.hpp"
1620

1721
namespace xsimd {

include/xsimd/arch/xsimd_constants.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
#ifndef XSIMD_NUMERICAL_CONSTANT_HPP
1313
#define XSIMD_NUMERICAL_CONSTANT_HPP
1414

15-
#include "../types/xsimd_utils.hpp"
16-
1715
#include <limits>
18-
#include <cstring>
1916

17+
#include "../types/xsimd_utils.hpp"
2018

2119
namespace xsimd
2220
{

0 commit comments

Comments
 (0)