diff options
Diffstat (limited to 'src/unit_cast.h')
-rw-r--r-- | src/unit_cast.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/unit_cast.h b/src/unit_cast.h deleted file mode 100644 index 8dc2689..0000000 --- a/src/unit_cast.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include <forstio/core/common.h> - -namespace kel { -template<typename S, typename From, typename To> -class unit_convert { - static_assert(always_false<S, From, To>, "Units can't be converted to each other"); -}; - -template<typename Store, typename Same> -class unit_convert<Store, Same, Same> { - static constexpr factor = static_cast<Store>(1); -}; -} |