phdMesh Version of the Day
phdmesh::StaticAssert< expression > Class Template Reference

Compiler-enforced value of 'expression == true'. More...

#include <Basics.hpp>


Detailed Description

template<bool expression>
class phdmesh::StaticAssert< expression >

Compiler-enforced value of 'expression == true'.

Author:
H. Carter Edwards <hcedwar@sandia.gov>
Date:
November 2006 If 'expression == true' then the specialization defines
  • enum { OK = true };
  • static bool ok() { return true ; }

Definition at line 43 of file Basics.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator