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
@@ -23,11 +23,10 @@
|
||||
#include <units/dimensions/velocity.h>
|
||||
#include <iostream>
|
||||
|
||||
namespace stde = std::experimental;
|
||||
using namespace stde::units::literals;
|
||||
using namespace units::literals;
|
||||
|
||||
template<stde::units::Length D, stde::units::Time T>
|
||||
constexpr stde::units::Velocity avg_speed(D d, T t)
|
||||
template<units::Length D, units::Time T>
|
||||
constexpr units::Velocity avg_speed(D d, T t)
|
||||
{
|
||||
return d / t;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user