mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 19:04:27 +02:00
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 {
|
||||
|
||||
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>
|
||||
|
Reference in New Issue
Block a user