feat: equivalent support removed
This commit is contained in:
1 parent
6d898957ab
commit
03e064fccd
3 files changed
-36
No files matched your search
@@ -211,12 +211,6 @@ template<Dimension D1, Dimension D2>
|
||||
return is_same_v<D1, D2>;
|
||||
}
|
||||
|
||||
// template<Dimension D1, Dimension D2>
|
||||
// [[nodiscard]] consteval bool equivalent(D1, D2)
|
||||
// {
|
||||
// return is_same_v<detail::dim_type<D1>, detail::dim_type<D2>>;
|
||||
// }
|
||||
|
||||
template<Dimension D1, Dimension D2>
|
||||
[[nodiscard]] consteval bool convertible(D1, D2)
|
||||
{
|
||||
|
||||
@@ -136,12 +136,6 @@ template<Representation Rep, Reference R>
|
||||
|
||||
void /*Use `q * (1 * r)` rather than `q * r`.*/ operator*(Quantity auto, Reference auto) = delete;
|
||||
|
||||
// template<Reference R1, Reference R2>
|
||||
// [[nodiscard]] consteval bool equivalent(R1, R2)
|
||||
// {
|
||||
// return equivalent(R1::dimension, R2::dimension) && R1::unit == R2::unit;
|
||||
// }
|
||||
|
||||
template<Reference R1, Reference R2>
|
||||
[[nodiscard]] consteval bool convertible(R1, R2)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user