Model -- functional behavior
template< class T > class model {public: void tell(view
model * v) { dependent = v; } one view only
void changed() { if (dependent) dependent->update(); } virtual T value()=0; protected: view* dependent; model() { dependent = 0; } restricted creation
};