Skip to content

Commit 0bb7463

Browse files
committed
move to C++17
1 parent 562fdd9 commit 0bb7463

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

multi_physics/QED/QED_table_generator/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ set_target_properties(${name} PROPERTIES
1818
configure_file(table_inspector.ipynb
1919
${CMAKE_BINARY_DIR}/tools/table_inspector.ipynb COPYONLY)
2020

21-
# Require C++14 or newer
22-
target_compile_features(${name} PUBLIC cxx_std_14)
21+
# Require 17 or newer
22+
target_compile_features(${name} PUBLIC cxx_std_17)
2323
set_target_properties(${name} PROPERTIES CXX_EXTENSIONS OFF)
2424

2525
# Enable warnings

multi_physics/QED/QED_tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ foreach(name ${TEST_NAMES})
5050
set_target_properties(${name} PROPERTIES
5151
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
5252

53-
# Require C++14 or newer
54-
target_compile_features(${name} PUBLIC cxx_std_14)
53+
# Require C++17 or newer
54+
target_compile_features(${name} PUBLIC cxx_std_17)
5555
set_target_properties(${name} PROPERTIES CXX_EXTENSIONS OFF)
5656

5757
# Enable warnings

multi_physics/QED/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Library
44
The QED library is a header only library. Its only external dependency is Boost (a recent version is needed). Boost is absolutely necessary to generate lookup tables, but it's not needed at runtime if lookup tables have been previously generated.
55

6-
C++14 standard is followed. The core functions of the library can be included in GPU kernels, provided that the user sets the `PXRMP_GPU` before including any file of the library (e.g. `#define PXRMP_GPU __host__ __device__`).
6+
C++17 standard is followed. The core functions of the library can be included in GPU kernels, provided that the user sets the `PXRMP_GPU` before including any file of the library (e.g. `#define PXRMP_GPU __host__ __device__`).
77

88
The library implements the following physical processes: Breit-Wheeler pair production, Quantum Synchrotron photon emission and Schwinger pair production.
99

multi_physics/QED/python_bindings/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ set_target_properties(${name} PROPERTIES
5959
configure_file(demo_python_bindings.ipynb
6060
${CMAKE_BINARY_DIR}/python_bindings/demo_python_bindings.ipynb COPYONLY)
6161

62-
# Require C++14 or newer
63-
target_compile_features(${name} PUBLIC cxx_std_14)
62+
# Require C++17 or newer
63+
target_compile_features(${name} PUBLIC cxx_std_17)
6464
set_target_properties(${name} PROPERTIES CXX_EXTENSIONS OFF)
6565

6666
# Enable warnings

0 commit comments

Comments
 (0)