Monitoring
3.3.4
O2 Monitoring library
|
Adds boost variants. More...
#include <VariantVisitorAdd.h>
Public Member Functions | |
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type> | |
std::variant< int, std::string, double, uint64_t > | operator() (const T &a, const T &b) const |
Overloads operator() that sums numeric values. | |
template<typename T , typename U > | |
std::variant< int, std::string, double, uint64_t > | operator() (const T &, const U &) const |
Adds boost variants.
|
inline |
If arguments have different type an exception is raised
MonitoringException |