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

Classes | Namespaces | Defines
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.

Classes

struct  tvmet::CompileTimeError< true >

Namespaces

namespace  tvmet
 

The namespace for the Tiny Vector Matrix using Expression Templates Libary.


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.

Referenced by tvmet::CommaInitializer< Obj, LEN >::Initializer< T, N >::operator,(), tvmet::util::Random< T, MIN, MAX >::Random(), and tvmet::Vector< T, Sz >::Vector().

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Author: