Getter specialization for pointers, has no bounds checking except for <= 0.
More...
#include <type_operators.hpp>
Public Member Functions |
| static_assert (dim > 0,"Dimension less than one passed to getter") |
| static_assert (std::is_floating_point< T >::value,"Non floating-point type used with standard getter") |
Static Public Member Functions |
static T & | pull (T *inval) |
Detailed Description
template<class T, int dim>
struct get< T *, dim >
Getter specialization for pointers, has no bounds checking except for <= 0.
Definition at line 55 of file type_operators.hpp.
Member Function Documentation
template<class T , int dim>
static T& get< T *, dim >::pull |
( |
T * |
inval | ) |
|
|
inlinestatic |
template<class T , int dim>
get< T *, dim >::static_assert |
( |
dim |
, |
|
|
0 |
, |
|
|
"Dimension less than one passed to getter" |
|
|
) |
| |
template<class T , int dim>
get< T *, dim >::static_assert |
( |
std::is_floating_point< T >::value |
, |
|
|
"Non floating-point type used with standard getter" |
|
|
) |
| |
The documentation for this struct was generated from the following file: