From a822083e6d7b4060874f99ae0b796eac443d0d37 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Thu, 6 Apr 2023 14:26:41 +0200 Subject: [PATCH] Add deprecation message to pointer, order constructor --- include/boost/math/tools/polynomial.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/math/tools/polynomial.hpp b/include/boost/math/tools/polynomial.hpp index fdff23254c..77efaec99a 100644 --- a/include/boost/math/tools/polynomial.hpp +++ b/include/boost/math/tools/polynomial.hpp @@ -286,6 +286,7 @@ class polynomial polynomial()= default; template + [[deprecated("Please use the move constructor instead, or pass the order instead of number of terms")]] polynomial(const U* data, unsigned order) : m_data(data, data + order + 1) {