template inline void Element::setPrevious(Element *previous) { this->previous = previous; } template inline Element & Element::getPrevious() { return *previous; }