From: Richard Kreckel Date: Mon, 14 Nov 2022 22:13:21 +0000 (+0100) Subject: Remove own definition of enable_if in favor of... X-Git-Tag: release_1-8-5~9 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=d4a58b74cea7c813330aa7813d86713bee205d04;p=ginac.git Remove own definition of enable_if in favor of... ...the definition provided by since C++11. --- diff --git a/ginac/factor.cpp b/ginac/factor.cpp index d0d9ce03..9bd105ec 100644 --- a/ginac/factor.cpp +++ b/ginac/factor.cpp @@ -65,6 +65,7 @@ #include "normal.h" #include "add.h" +#include #include #include #include @@ -219,13 +220,6 @@ static void expt_pos(umodpoly& a, unsigned int q) } } -template struct enable_if -{ - typedef T type; -}; - -template struct enable_if { /* empty */ }; - template struct uvar_poly_p { static const bool value = false;