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

◆ castedpointer()

template<class C>
template<class TT >
TT* aff::FortranArray< C >::castedpointer ( ) const
inline

return type-casted pointer to first element in Fortran layout

The cast checks for const-correctness and type-size. But you have to ensure that there is a meaningful relation between both types involved.

See also
aff::util::SizeCheckedCast

Definition at line 148 of file fortranshape.h.

References aff::FortranArray< C >::Mpointer.

Referenced by f77interface::fill(), f77interface::fillarray(), and f77interface::sums().

Treppointer Mpointer
pointer to memory
Definition: fortranshape.h:152
static TT * cast(T *p)
return a type-casted (and type-checked) pointer
Definition: checkedcast.h:88
Here is the caller graph for this function: