41#ifndef UFO_CORE_LABEL_HPP
42#define UFO_CORE_LABEL_HPP
100 Label rhs)
noexcept =
default;
124inline std::ostream& operator<<(std::ostream& out,
Label l) {
return out << l.
label; }
128struct std::formatter<
ufo::Label> : std::formatter<ufo::Label::value_type> {
129 auto format(
ufo::Label l, std::format_context& ctx)
const
131 return std::formatter<ufo::Label::value_type>::format(l.
label, ctx);
All vision-related classes and functions.
Represents a semantic class label as a single unsigned integer value.
friend constexpr bool operator==(Label lhs, Label rhs) noexcept=default
Equality comparison.
friend constexpr auto operator<=>(Label lhs, Label rhs) noexcept=default
Three-way comparison (total order on the underlying integer).
value_type label
The raw class label identifier.
std::uint32_t value_type
Underlying integer type.