From 3845d57531d13186d0bda4e890e6a7a457672fe9 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Mon, 7 Feb 2022 19:56:26 +0100 Subject: [PATCH] Use BOOST_PP_VARIADIC_SIZE instead of custom implementation --- include/turtle/constraint.hpp | 111 +----------------------- include/turtle/detail/function_impl.hpp | 2 +- 2 files changed, 3 insertions(+), 110 deletions(-) diff --git a/include/turtle/constraint.hpp b/include/turtle/constraint.hpp index 126ce5d..8dddb22 100644 --- a/include/turtle/constraint.hpp +++ b/include/turtle/constraint.hpp @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include @@ -178,118 +178,11 @@ const constraint> operator!(const constraintadd(s0), 0), (e_->add(s), 0)... }; + (void)expander{ (this->e_->add(s0), 0), (this->e_->add(s), 0)... }; return *this; }