Constructors
Declared in <streams.h>
Deleted copy constructor; this guard is non-copyable.
ScopedDataStreamUsage(ScopedDataStreamUsage const& other) = delete;
» more...
Take a reference to a stream that must be empty, asserting emptiness on entry.
explicit
ScopedDataStreamUsage(DataStream& stream);
» more...
| Name | Description |
|---|---|
| other | The instance that would be copied. |
| stream | Stream to guard; must be empty and is cleared on destruction. |