Files
Cpp-in-Embedded-Systems/Chapter18/cib/libs/cib/func_decl.hpp
Amar Mahmutbegovic 8634accda5 add Chapter18
2025-02-06 00:19:59 +01:00

13 lines
306 B
C++

#pragma once
#include <stdx/ct_string.hpp>
template <stdx::ct_string Name, typename... Args>
extern auto cib_func(Args...) -> void;
namespace cib {
template <stdx::ct_string Name, typename... Args>
constexpr auto func_decl =
[](Args... args) -> void { cib_func<Name>(args...); };
} // namespace cib