fix: missing poison pills added

This commit is contained in:
Mateusz Pusz
2024-11-26 15:40:15 +01:00
parent 2f3399e02f
commit c7eb981f4f

View File

@@ -136,6 +136,7 @@ MP_UNITS_EXPORT inline constexpr ::mp_units::detail::imag_impl::imag_t imag;
namespace detail::modulus_impl {
void modulus() = delete; // poison pill
void abs() = delete; // poison pill
struct modulus_t {
[[nodiscard]] constexpr Scalar auto operator()(const WeaklyRegular auto& clx) const
@@ -188,6 +189,7 @@ concept Complex =
namespace magnitude_impl {
void magnitude() = delete; // poison pill
void abs() = delete; // poison pill
struct magnitude_t {
template<WeaklyRegular T>