17 virtual void update(
const T& subject)
noexcept = 0;
Generic Gang-of-Four Observer class, templatized edition.
Observer & operator=(const Observer &)=delete
Observer & operator=(Observer &&)=delete
Observer(const Observer &)=delete
Observer(Observer &&)=delete
virtual void subjectDeleted(const T &)
virtual void update(const T &subject) noexcept=0
This file implemented 3 utility functions: