units removed from a std::experimental namespace
This commit is contained in:
1 parent
6390eba786
commit
c3d7359ca3
74 files changed
+164
-200
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user