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

◆ setlastindex()

template<class T>
void aff::LinearShape::setlastindex
inlineinherited

set last index to last

Definition at line 152 of file linearshape.h.

153  {
154  AFF_assert(((last>=Mfirst)&&(last<=Mlast)),
155  "ERROR (LinearShape::setlastindex): index value out of range");
156  Mlast=last;
157  }
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tsubscript Mlast
last valid index
Definition: linearshape.h:167
Tsubscript Mfirst
first valid index
Definition: linearshape.h:166
const Tsubscript & last() const
return last legal index
Definition: linearshape.h:107