The work on the concept checking class for the histograms showed, that arithmetic operations with histograms and scalars do not work.
The arithmetic functions are defined as:
template<class x_value_type, class y_value_type, class Derived>const Derived& operator+(const Derived& lhs, y_value_type rhs)
The compiler cannot determine the template parameter x_value_type. Having such a definition can also lead to problems, because it can overwrite simply every definition of an operator+.
The work on the concept checking class for the histograms showed, that arithmetic operations with histograms and scalars do not work.
The arithmetic functions are defined as:
template<class x_value_type, class y_value_type, class Derived>
const Derived& operator+(const Derived& lhs, y_value_type rhs)
The compiler cannot determine the template parameter
x_value_type
. Having such a definition can also lead to problems, because it can overwrite simply every definition of an operator+.