What is a Source?
You poke at it and get a number back
Other classes will be derived from it
class Source {
public:
virtual int next() = 0;
virtual ~Source() { }
Source() { }
private:
Source(const Source&);
Source& operator=(const Source&);
};
Previous slide
Next slide
Back to first slide
View graphic version