forked from mpusz/mp-units
fix: missing poison pills added
This commit is contained in:
@@ -136,6 +136,7 @@ MP_UNITS_EXPORT inline constexpr ::mp_units::detail::imag_impl::imag_t imag;
|
|||||||
namespace detail::modulus_impl {
|
namespace detail::modulus_impl {
|
||||||
|
|
||||||
void modulus() = delete; // poison pill
|
void modulus() = delete; // poison pill
|
||||||
|
void abs() = delete; // poison pill
|
||||||
|
|
||||||
struct modulus_t {
|
struct modulus_t {
|
||||||
[[nodiscard]] constexpr Scalar auto operator()(const WeaklyRegular auto& clx) const
|
[[nodiscard]] constexpr Scalar auto operator()(const WeaklyRegular auto& clx) const
|
||||||
@@ -188,6 +189,7 @@ concept Complex =
|
|||||||
namespace magnitude_impl {
|
namespace magnitude_impl {
|
||||||
|
|
||||||
void magnitude() = delete; // poison pill
|
void magnitude() = delete; // poison pill
|
||||||
|
void abs() = delete; // poison pill
|
||||||
|
|
||||||
struct magnitude_t {
|
struct magnitude_t {
|
||||||
template<WeaklyRegular T>
|
template<WeaklyRegular T>
|
||||||
|
Reference in New Issue
Block a user