diff --git a/STL_Extension/include/CGAL/Container_helper.h b/STL_Extension/include/CGAL/Container_helper.h index aeb66ea052b..edf06bfa2af 100644 --- a/STL_Extension/include/CGAL/Container_helper.h +++ b/STL_Extension/include/CGAL/Container_helper.h @@ -18,8 +18,9 @@ #include #include +#include #include -#include +#include namespace CGAL { namespace internal { @@ -35,13 +36,8 @@ void resize(Container& c, std::size_t size, c.resize(size); } -// Container without a resize() function, but with a size() function (e.g. an array) -template -void resize(Container& CGAL_assertion_code(array), std::size_t CGAL_assertion_code(size), - std::enable_if_t< - boost::mpl::and_< - boost::mpl::not_ >, - has_size >::value >* = nullptr) +template +void resize(std::array& CGAL_assertion_code(array), std::size_t CGAL_assertion_code(size)) { CGAL_assertion(array.size() == size); }