LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
dim_check< bound, dim > Struct Template Reference

value is true if dim>0 and dim <= bound. static_asserts on value as well. More...

#include <type_operators.hpp>

Public Member Functions

 static_assert (value,"Dimension is outside of bounds")

Static Public Attributes

static constexpr bool value = dim > 0 && dim <= bound

Detailed Description

template<int bound, int dim>
struct dim_check< bound, dim >

value is true if dim>0 and dim <= bound. static_asserts on value as well.

Definition at line 26 of file type_operators.hpp.

Member Function Documentation

template<int bound, int dim>
dim_check< bound, dim >::static_assert ( value  ,
"Dimension is outside of bounds"   
)

Member Data Documentation

template<int bound, int dim>
constexpr bool dim_check< bound, dim >::value = dim > 0 && dim <= bound
static

Definition at line 27 of file type_operators.hpp.


The documentation for this struct was generated from the following file: