diff --git a/include/log/catalog/catalog.hpp b/include/log/catalog/catalog.hpp index 27c65cc7..da44143b 100644 --- a/include/log/catalog/catalog.hpp +++ b/include/log/catalog/catalog.hpp @@ -4,6 +4,11 @@ #include +namespace sc { +template struct args; +template struct undefined; +} // namespace sc + template struct message {}; using string_id = std::uint32_t; diff --git a/include/log/catalog/mipi_encoder.hpp b/include/log/catalog/mipi_encoder.hpp index 13cdbff4..9298bb15 100644 --- a/include/log/catalog/mipi_encoder.hpp +++ b/include/log/catalog/mipi_encoder.hpp @@ -9,6 +9,27 @@ #include #include +namespace { +template +constexpr auto to_message() { + constexpr auto s = S::value; + using char_t = typename std::remove_cv_t::value_type; + return [&]