Numeric concepts removed from repo (no longer used)

This commit is contained in:
Mateusz Pusz
2020-03-28 12:08:37 +01:00
parent ae7cd4d068
commit d19825e14c
3 changed files with 2 additions and 402 deletions
+2 -2
View File
@@ -124,8 +124,8 @@ public:
template<typename T = Rep>
[[nodiscard]] constexpr quantity operator-() const
requires std::regular_invocable<std::ranges::negate, T>
// requires std::regular_invocable<std::ranges::negate, rep> // TODO gated by gcc-9 (fixed in gcc-10)
requires std::regular_invocable<std::negate<>, T>
// requires std::regular_invocable<std::negate<>, rep> // TODO gated by gcc-9 (fixed in gcc-10)
{
return quantity(-count());
}