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