- Main Page
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# rational< T >::zero_denominator Class Reference

Exception class if the denominator is ever zero. More...

`#include <rational.hpp>`

List of all members.

## Public Member Functions
| zero_denominator (std::string const &what)
| Construct the exception object.

## Detailed Description

### template<class T>
class rational< T >::zero_denominator

Exception class if the denominator is ever zero.

Definition at line 22 of file rational.hpp.

## Constructor & Destructor Documentation

template<class T>

rational< T >::zero_denominator::zero_denominator | ( | std::string const & | what | ) | `[inline]`

Construct the exception object.

Definition at line 26 of file rational.hpp.

    00026 : logic_error(what) {}

The documentation for this class was generated from the following file:

- rational.hpp