std::ratio<1> set as a default for unit
This commit is contained in:
1 parent
1bbbd02f1c
commit
a63b5ab111
7 files changed
+7
-7
No files matched your search
@@ -37,7 +37,7 @@ namespace units {
|
||||
using length = quantity<dimension_length, U, Rep>;
|
||||
|
||||
// SI units
|
||||
struct meter : unit<dimension_length, std::ratio<1>> {};
|
||||
struct meter : unit<dimension_length> {};
|
||||
template<> struct upcasting_traits<upcast_from<meter>> : upcast_to<meter> {};
|
||||
|
||||
struct millimeter : milli<meter> {};
|
||||
|
||||
Reference in new issue
Block a user