userver: userver/engine/io/fd_control_holder.hpp Source File
Loading...
Searching...
No Matches
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