:relfileprefix: ../../../
[#CBD4A4E462992EF0D6D32BA2494F8E82D9F7F38F]

= Function fd_resource_traits::is_allocated

pass:v,q[Tests if the fd is allocated (valid)]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
static
bool
is_allocated(int fd) noexcept;
----

