---
name: "std::ratio_divide"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/std::ratio_divide"
---

# std::ratio\_divide(3cxx)

## NAME

std::ratio\_divide\< \_R1, \_R2 \> -

## SYNOPSIS

### Public Types

typedef **ratio\_multiply**\< \_R1, \
 **ratio**\< \_R2::den, \_R2::num \>\
\
  \>::**type** **type**"\

### Public Member Functions

**static\_assert** (\_R2::num!=0,'division by 0')\

## Detailed Description

### template\<typename \_R1, typename \_R2\>struct std::ratio\_divide\< \_R1, \_R2 \>

**ratio\_divide**

Definition at line 216 of file ratio.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
