Ccompilation error fixed on gcc-9

This commit is contained in:
Mateusz Pusz
2020-05-28 13:37:20 +02:00
parent caeae68326
commit 77a94b6d73
2 changed files with 6 additions and 1 deletions

View File

@@ -77,11 +77,17 @@ namespace std {
using concepts::default_constructible; using concepts::default_constructible;
using concepts::derived_from; using concepts::derived_from;
using concepts::equality_comparable_with; using concepts::equality_comparable_with;
// using concepts::floating_point;
using concepts::integral;
using concepts::regular; using concepts::regular;
using concepts::same_as; using concepts::same_as;
using concepts::totally_ordered; using concepts::totally_ordered;
using concepts::totally_ordered_with; using concepts::totally_ordered_with;
// missing in Range-v3
template<class T>
concept floating_point = std::is_floating_point_v<T>;
template<class F, class... Args> template<class F, class... Args>
concept invocable = concept invocable =
requires(F&& f, Args&&... args) { requires(F&& f, Args&&... args) {

View File

@@ -24,7 +24,6 @@
#include <random> #include <random>
#include <functional> #include <functional>
#include <concepts>
#include <units/concepts.h> #include <units/concepts.h>
namespace units { namespace units {