Numeric concepts removed from repo (no longer used)

This commit is contained in:
Mateusz Pusz committed 2020-03-28 12:08:37 +01:00
1 parent ae7cd4d068
commit d19825e14c
3 files changed
+2 -402

No files matched your search

+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());
}