:relfileprefix: ../../
[#8BCCD5583B6E7EDE3C9940CF8B2784C4CC4B89AB]

= unique_fd

pass:v,q[Unique POSIX-like file descriptor resource]


== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/unique_fd.hpp#L31[boost/scope/unique_fd.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
typedef xref:boost/scope/unique_resource-0c.adoc[unique_resource]<int, xref:boost/scope/fd_deleter.adoc[fd_deleter], xref:boost/scope/fd_resource_traits.adoc[fd_resource_traits]> unique_fd;
----

