TS++ library: time series library

◆ TSXX_Xassert

#define TSXX_Xassert (   C,
  M,
 
)    if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); }

Check an assertion and report by throwing an exception.

Parameters
Cassert condition
Mmessage of type char*
Eexception class to throw

Definition at line 118 of file error.h.

Referenced by ts::ipo::resample().