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

◆ check_consistency()

template<class T >
void aff::ConstArray< T >::check_consistency ( ) const
private

check consitency between representation and shape

check shape and representation

Definition at line 546 of file array.h.

References AFF_assert.

Referenced by aff::ConstArray< T >::ConstArray().

547  {
548  AFF_assert((this->Tshape::first_offset()>=0),
549  "ERROR (ConstArray): invalid shape");
552  "ERROR (ConstArray): shape and representation are inconsistent");
553  }
const Tsize & size() const
Definition: sharedheap.h:179
Tsubscript last_offset() const
last mapped position
Definition: strided.h:191
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tsubscript first_offset() const
first mapped position
Definition: strided.h:188
ptrdiff_t Tsubscript
Type to hold an array&#39;s subscript value.
Definition: types.h:53
Trepresentation Mrepresentation
representation member
Definition: array.h:336
Here is the caller graph for this function: