2#ifndef LIBSBX_SCENES_COMPONENTS_TAG_HPP_
3#define LIBSBX_SCENES_COMPONENTS_TAG_HPP_
7#include <libsbx/utility/hashed_string.hpp>
11template<
typename Char>
18 template<
typename... Args>
20 :
base{std::forward<Args>(args)...} { }
28template<
typename Char>
29struct fmt::formatter<sbx::scenes::basic_tag<Char>> : fmt::formatter<sbx::utility::basic_hashed_string<Char>> {
31 template<
typename ParseContext>
32 constexpr auto parse(ParseContext& ctx) ->
decltype(ctx.begin()) {
36 template<
typename FormatContext>
38 return fmt::format_to(ctx.out(),
"{}", tag.c_str());
Definition: hashed_string.hpp:17