Archetype: cpp_component_stub_header.hpp.mustache
Placeholder declaration so the library target has a header.
See the Template variable reference for the complete list of available variables and their semantics.
Template
The full template source. Edit here and re-tangle with
compass build --direct tangle_codegen_templates to regenerate
library/templates/cpp_component_stub_header.hpp.mustache.
{{! GENERATED FILE — tangled from projects/ores.codegen/library/templates/cpp_component.org. Edit the org source. }}
{{{cpp_license}}}
{{#component}}
#ifndef ORES_{{name_upper}}_DOMAIN_STUB_HPP
#define ORES_{{name_upper}}_DOMAIN_STUB_HPP
#include <string>
namespace {{namespace}}::domain {
/**
* @brief Stub to be removed once real domain types are added.
*/
struct stub final {
int version = 0;
};
std::string stub_function();
}
#endif
{{/component}}
See also
- Parent facet: C++ component templates
- Template variable reference