AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ cast()

template<class T , class TT >
static TT* aff::util::SizeCheckedCast< T, TT >::cast ( T *  p)
inlinestatic

return a type-casted (and type-checked) pointer

Definition at line 88 of file checkedcast.h.

88  {
89  return(reinterpret_cast<TT*>(
90  SizeCheck<sizeof(T),sizeof(TT)>::have_same_size(