Skip to content
Snippets Groups Projects
Verified Commit ce8abde6 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Remove const-eval preprocessor check

parent a641a08b
No related branches found
No related tags found
No related merge requests found
Pipeline #76377 failed
......@@ -9,8 +9,7 @@
#if __has_include(<version>)
#include <version>
#if (__cpp_lib_constexpr_cmath < 202306L) and \
(__cpp_lib_is_constant_evaluated >= 201811L)
#if (__cpp_lib_constexpr_cmath < 202306L)
#include <limits>
#include <type_traits>
#include <utility>
......@@ -21,8 +20,7 @@ namespace Dune {
namespace Std {
#if (__cpp_lib_constexpr_cmath < 202202L) and \
(__cpp_lib_is_constant_evaluated >= 201811L)
#if (__cpp_lib_constexpr_cmath < 202202L)
// backport for constexpr functions between C++20 and C++23
template<class T>
constexpr T
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment