diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 6a84c8c4d5e..4faa6ad4843 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -476,6 +476,14 @@ namespace cpp11{ }//namespace cpp11 } //namespace CGAL +#if __cpp_lib_concepts >= 201806L +# define CGAL_CPP20_REQUIRE_CLAUSE(x) requires x +# define CGAL_TYPE_CONSTRAINT(x) x +#else +# define CGAL_CPP20_REQUIRE_CLAUSE(x) +# define CGAL_TYPE_CONSTRAINT(x) typename +#endif + // The fallthrough attribute // See for clang: // https://clang.llvm.org/docs/AttributeReference.html#statement-attributes