hpp-statistics: hpp::statistics::SuccessBin::Reason Struct Reference

hpp-statistics 9.0.2 Classes for doing statistics.

Public Member Functions | Public Attributes | List of all members
hpp::statistics::SuccessBin::Reason Struct Reference

`#include <hpp/statistics/success-bin.hh>`

## Public Member Functions
| Reason (std::size_t a_id, std::string a_what)

## Public Attributes
std::size_t | id
std::string | what

## Detailed Description

In case of failure, you can provide a reason. Use macro DEFINE_REASON_FAILURE (REASON_NAME, Reason string) to define a new reason.

## Constructor & Destructor Documentation

## ◆ Reason()

hpp::statistics::SuccessBin::Reason::Reason | ( | std::size_t | a_id,
|  | std::string | a_what
| ) |  |
| inline

## Member Data Documentation

## ◆ id

std::size_t hpp::statistics::SuccessBin::Reason::id

## ◆ what

std::string hpp::statistics::SuccessBin::Reason::what

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

- include/hpp/statistics/success-bin.hh