1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* Interface that implements an exception throwing write method. */ #pragma once #include "interfaces.hpp" class WriteOnly : public ReadInterface { public: WriteOnly() : ReadInterface() { } ReadReturn read(void) override; };