units removed from a std::experimental namespace

This commit is contained in:
Mateusz Pusz
2019-09-18 21:55:16 -06:00
parent 6390eba786
commit c3d7359ca3
74 changed files with 164 additions and 200 deletions
+4 -4
View File
@@ -25,7 +25,7 @@
#include <utility>
#include <chrono>
using namespace std::experimental::units;
using namespace units;
namespace {
@@ -44,7 +44,7 @@ namespace {
} // namespace
namespace std::experimental::units {
namespace units {
template<typename T>
inline constexpr bool treat_as_floating_point<my_value<T>> = std::is_floating_point_v<T>;
@@ -56,7 +56,7 @@ namespace std::experimental::units {
static constexpr my_value<T> min() { return std::numeric_limits<T>::lowest(); }
};
} // namespace std::experimental::units
} // namespace units
namespace std {
@@ -72,7 +72,7 @@ namespace std {
namespace {
using namespace std::experimental::units;
using namespace units;
// class invariants