24#ifndef STELLARLIB_EXT_UTILITY_HPP
25#define STELLARLIB_EXT_UTILITY_HPP
42template <
typename Scope,
typename SizeType = std::
size_t>
46 static std::atomic<SizeType>
id{std::numeric_limits<SizeType>::max()};
57template <
typename Scope,
typename T,
typename SizeType = std::
size_t>
Standard library extensions.
Definition bit.hpp:33
constexpr auto sequential_id() noexcept
Thread-safe sequential ID generator scoped by type.
Definition utility.hpp:44
constexpr auto scoped_typeid() noexcept
Generates a unique ID per type within a scope.
Definition utility.hpp:59