tmp/tmpstmi3iv1/{from.md → to.md}
RENAMED
|
@@ -3,13 +3,13 @@
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template <intmax_t N, intmax_t D = 1>
|
| 6 |
class ratio {
|
| 7 |
public:
|
| 8 |
-
typedef ratio<num, den> type;
|
| 9 |
static constexpr intmax_t num;
|
| 10 |
static constexpr intmax_t den;
|
|
|
|
| 11 |
};
|
| 12 |
}
|
| 13 |
```
|
| 14 |
|
| 15 |
If the template argument `D` is zero or the absolute values of either of
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template <intmax_t N, intmax_t D = 1>
|
| 6 |
class ratio {
|
| 7 |
public:
|
|
|
|
| 8 |
static constexpr intmax_t num;
|
| 9 |
static constexpr intmax_t den;
|
| 10 |
+
typedef ratio<num, den> type;
|
| 11 |
};
|
| 12 |
}
|
| 13 |
```
|
| 14 |
|
| 15 |
If the template argument `D` is zero or the absolute values of either of
|