In case of failure, you can provide a reason. More...
#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 |
In case of failure, you can provide a reason.
Use macro DEFINE_REASON_FAILURE (REASON_NAME, Reason string) to define a new reason.
hpp::statistics::SuccessBin::Reason::Reason | ( | std::size_t | a_id, |
std::string | a_what | ||
) | [inline] |
std::size_t hpp::statistics::SuccessBin::Reason::id |
Referenced by hpp::statistics::SuccessBin::operator<(), and hpp::statistics::SuccessBin::operator==().
std::string hpp::statistics::SuccessBin::Reason::what |