:relfileprefix: ../../
[#044B7B72DE9F00B50460DB052112DD7DA17DF589]

= Class fd_resource_traits

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


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
struct fd_resource_traits;
----

==  Static Member Functions
[,cols=2]
|===
|Name |Description
|xref:boost/scope/fd_resource_traits/is_allocated.adoc[`pass:v[is_allocated]`] |
pass:v,q[Tests if the fd is allocated (valid)]

|xref:boost/scope/fd_resource_traits/make_default.adoc[`pass:v[make_default]`] |
pass:v,q[Creates a default fd value]

|===


