21#ifndef EVT_VAL_ERROR_HH
22#define EVT_VAL_ERROR_HH
58 void print( std::ostream& )
const;
77template <
class InputIterator,
class Predicate>
88 return EvtValError( ( (
double)itsPassed ) / ( (
double)itsTried ),
89 sqrt( itsPassed ) / ( (
double)itsTried ) );
std::ostream & operator<<(std::ostream &, const EvtValError &)
EvtValError operator+(const EvtValError &x1, const EvtValError &x2)
EvtValError operator/(const EvtValError &x1, const EvtValError &x2)
EvtValError accept_reject(InputIterator it, InputIterator end, Predicate pred)
EvtValError operator*(const EvtValError &x1, const EvtValError &x2)
void operator=(const EvtValError &other)
void operator/=(const EvtValError &other)
void operator+=(const EvtValError &other)
void operator*=(const EvtValError &other)
void print(std::ostream &) const