| 1 | // -*- C++ -*-cxx . . $ `<file>/vendor/Heap-Layers/utility/gcd.h`/ |
| 2 | |
| 3 | #ifndef HL_GCD_H |
| 4 | #define HL_GCD_Hcxx . . $ `vendor/Heap-Layers/utility/gcd.h:4:9`! |
| 5 | |
| 6 | namespace HLcxx . . $ HL/ { |
| 7 | |
| 8 | template <int a, int b> |
| 9 | class gcdcxx . . $ HL/gcd#; |
| 10 | |
| 11 | template <int a> |
| 12 | class gcdcxx . . $ HL/gcd#<a, 0> |
| 13 | { |
| 14 | public: |
| 15 | enumcxx . . $ HL/gcd#$anonymous_type_0# { VALUEcxx . . $ HL/gcd#VALUE. = a }; |
| 16 | static const int valuecxx . . $ HL/gcd#value. = a; |
| 17 | }; |
| 18 | |
| 19 | template <int a, int b> |
| 20 | class gcdcxx . . $ HL/gcd# |
| 21 | { |
| 22 | public: |
| 23 | enumcxx . . $ HL/gcd#$anonymous_type_1# { VALUEcxx . . $ HL/gcd#VALUE. = gcdcxx . . $ HL/gcd#<b, a%b>::VALUE }; |
| 24 | static const int valuecxx . . $ HL/gcd#value. = gcdcxx . . $ HL/gcd#<b, a%b>::value; |
| 25 | }; |
| 26 | |
| 27 | } |
| 28 | |
| 29 | #endif |