[#AutoFile-2constructor-0e] = xref:AutoFile.adoc[AutoFile]::AutoFile :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<streams.h>` Deleted copy constructor; AutoFile is non‐copyable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:AutoFile/2constructor-0b.adoc[AutoFile](xref:AutoFile.adoc[AutoFile] const& other) = delete; ---- [.small]#xref:AutoFile/2constructor-0b.adoc[_» more..._]# Construct a wrapper taking ownership of `file`, optionally obfuscating its data. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:AutoFile/2constructor-05.adoc[AutoFile]( FILE* file, xref:Obfuscation.adoc[Obfuscation] const& obfuscation = {}); ---- [.small]#xref:AutoFile/2constructor-05.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The instance that would be copied. | *file* | C file handle to take ownership of; may be nullptr. | *obfuscation* | XOR key applied to data as it is read or written. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#