diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-29 14:18:30 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-07-29 14:18:30 +0200 |
commit | 700cde2d499742160deb361f42b7e861ae1db8ed (patch) | |
tree | ba796243a94578f9c2105080fa19040a341c4482 /c++/unit_cast.h | |
parent | fb7dd1c9185da30aed8645c084be0722e061a867 (diff) |
Renaming to new standard
Diffstat (limited to 'c++/unit_cast.h')
-rw-r--r-- | c++/unit_cast.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/c++/unit_cast.h b/c++/unit_cast.h deleted file mode 100644 index 8dc2689..0000000 --- a/c++/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); -}; -} |