summaryrefslogtreecommitdiffstats
path: root/notimpl/writeonly.hpp
blob: 6dc7afd1a16cfe3173f8d3880eb3ebec649c7b69 (plain)
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;
};
OpenPOWER on IntegriCloud