Archetype: cpp_component_stub_impl.cpp.mustache

Table of Contents

Placeholder implementation so the library target has a TU.

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_impl.cpp.mustache.

{{! GENERATED FILE — tangled from projects/ores.codegen/library/templates/cpp_component.org. Edit the org source. }}
{{{cpp_license}}}
{{#component}}
#include "{{full_name}}/domain/stub.hpp"

namespace {{namespace}}::domain {

std::string stub_function() {
    return "STUB code to be removed";
}

}
{{/component}}

See also

Emacs 29.1 (Org mode 9.6.6)