17 [[nodiscard]]
constexpr bool valid() const noexcept
25 return lhs.value == rhs.value;
IoResourceKind
Resource kinds supported by the kernel I/O layer.
Unified descriptor handle returned by the kernel I/O layer.
constexpr bool valid() const noexcept
Returns true when descriptor is valid.
std::int32_t value
Underlying descriptor value.
friend constexpr bool operator==(IoDescriptor lhs, IoDescriptor rhs) noexcept
Equality comparison for descriptor values.