AutoFile::AutoFile

Constructors

Synopses

Declared in <streams.h>

Deleted copy constructor; AutoFile is non-copyable.

AutoFile(AutoFile const& other) = delete;
» more...

Construct a wrapper taking ownership of file, optionally obfuscating its data.

explicit
AutoFile(
    FILE* file,
    Obfuscation const& obfuscation = {});
» more...

Parameters

NameDescription
otherThe instance that would be copied.
fileC file handle to take ownership of; may be nullptr.
obfuscationXOR key applied to data as it is read or written.