diff --git a/src/Magnum/Math/Bezier.h b/src/Magnum/Math/Bezier.h index 531b3b880..60668a626 100644 --- a/src/Magnum/Math/Bezier.h +++ b/src/Magnum/Math/Bezier.h @@ -85,7 +85,7 @@ template class Bezier { {} /** @brief Construct Bézier curve with given array of control points */ - template constexpr Bezier(const Vector& first, U... next) noexcept: _data{first, next...} { + template constexpr /*implicit*/ Bezier(const Vector& first, U... next) noexcept: _data{first, next...} { static_assert(sizeof...(U) + 1 == order + 1, "Wrong number of arguments"); } @@ -97,10 +97,10 @@ template class Bezier { */ template constexpr explicit Bezier(const Bezier& other) noexcept: Bezier{typename Implementation::GenerateSequence::Type(), other} {} - /** @brief Construct Bézier from external representation */ + /** @brief Construct Bézier curve from external representation */ template::from(std::declval()))> constexpr explicit Bezier(const U& other) noexcept: Bezier{Implementation::BezierConverter::from(other)} {} - /** @brief Convert Bézier to external representation */ + /** @brief Convert Bézier curve to external representation */ template::to(std::declval>()))> constexpr explicit operator U() const { return Implementation::BezierConverter::to(*this); }