SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

include/tvmet/CompileTimeError.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tvmet

Classes

struct  tvmet::CompileTimeError< true >

Defines

#define TVMET_CT_CONDITION(XPR, MSG)
 Simplify the Compile Time Assertation by using an expression Xpr and an error message MSG.


Define Documentation

#define TVMET_CT_CONDITION ( XPR,
MSG   ) 

Value:

{       \
  CompileTimeError<(XPR)> tvmet_ERROR_##MSG;      \
  (void)tvmet_ERROR_##MSG;          \
}
Simplify the Compile Time Assertation by using an expression Xpr and an error message MSG.


Author: