Function var

Synopsis

#include <include/flecs/addons/cpp/mixins/term/builder_i.hpp>

Base & var(const char *var_name)

Description

No description yet.

Mentioned in

Source

Lines 105-110 in include/flecs/addons/cpp/mixins/term/builder_i.hpp.

Base& var(const char *var_name) {
    this->assert_term_id();
    m_term_id->flags |= flecs::IsVariable;
    m_term_id->name = const_cast<char*>(var_name);
    return *this;
}