1 #ifndef EAGINE_EXAMPLE_ECS_RELATIONS_HPP // NOLINT(llvm-header-guard)
9 #define EAGINE_EXAMPLE_ECS_RELATIONS_HPP
18 struct isotope : ecs::relation<isotope> {
19 static constexpr
auto uid() noexcept {
basic_string_span< const char > string_view
Alias for const string views.
Definition: string_span.hpp:116
#define EAGINE_ID_V(NAME)
Macro for constructing instances of eagine::identifier_t.
Definition: identifier.hpp:359
Common code is placed in this namespace.
Definition: eagine.hpp:21
static constexpr auto view(T *addr, S size) noexcept -> const_span< T >
Creates a view starting at the specified pointer and specified length.
Definition: span.hpp:458
auto string_replace(std::basic_string< C, T, A > &str, memory::basic_span< const C, P1, S1 > from, memory::basic_span< const C, P2, S2 > to) -> std::basic_string< C, T, A > &
Replaces all occurrences of from with to in the given string.
Definition: string_algo.hpp:26
static auto operator<<(std::ostream &out, const identifier_name< M > &n) -> std::ostream &
Operator for writing identifier_name into output streams.
Definition: identifier.hpp:159