diff options
Diffstat (limited to 'src/common/random.t.hpp')
-rw-r--r-- | src/common/random.t.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/common/random.t.hpp b/src/common/random.t.hpp deleted file mode 100644 index 98a6c59..0000000 --- a/src/common/random.t.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef RANDOM_T_HPP -#define RANDOM_T_HPP - -namespace random_ -{ - struct Fraction - { - int num, den; - }; - - template<class T, T den> - struct Fixed - { - T num; - - operator Fraction() - { - return {num, den}; - } - }; -} // namespace random_ - -#endif // RANDOM_T_HPP |