1#ifndef LIBSBX_UTILTY_TYPE_ID_HPP_
2#define LIBSBX_UTILTY_TYPE_ID_HPP_
7namespace sbx::utility {
12 [[nodiscard]]
static auto next()
noexcept -> std::uint32_t {
13 static auto id = std::uint32_t{};
20template<
typename Type>
23 [[nodiscard]]
static auto value()
noexcept -> std::uint32_t {
24 static const auto value = detail::id_generator::next();
28 [[nodiscard]]
constexpr operator std::uint32_t()
const noexcept {
Definition: type_id.hpp:11
Definition: type_id.hpp:21