PHengLEI-NCCR/API/Toolkit/include/TK_Exit.hxx

7 lines
274 B
C++

template < typename T >
inline void TK_Exit::UnexpectedVarValue(const string &variableName, const T &value)
{
ostringstream oss;
oss << " Error: this situation has not been considered, for " << variableName << " = " << value << endl;
ExceptionExit(oss.str());
}