userver: userver/engine/io/fd_control_holder.hpp Source File
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
fd_control_holder.hpp
1#pragma once
2
3#include <memory>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace engine::io::impl {
8
9class FdControl;
10
11struct FdControlDeleter {
12 void operator()(FdControl* ptr) const noexcept;
13};
14
15using FdControlHolder = std::unique_ptr<FdControl, FdControlDeleter>;
16
17} // namespace engine::io::impl
18
19USERVER_NAMESPACE_END