Calculator Step 6

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
zero_denominator Class Reference

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

`#include <rational.hpp>`

Inheritance diagram for zero_denominator:

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

## Detailed Description

Exception class if the denominator is ever zero.

Definition at line 17 of file rational.hpp.

## Constructor & Destructor Documentation

zero_denominator::zero_denominator | ( | std::string const & | what | ) |
| inline

Construct the exception object.

Definition at line 21 of file rational.hpp.

21 : logic_error{what} {}

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

- rational.hpp