Function clear

Synopsis

#include <include/flecs/addons/cpp/utils/string.hpp>

void clear()

Description

No description yet.

Source

Lines 109-113 in include/flecs/addons/cpp/utils/string.hpp.

void clear() {
    ecs_os_free(m_str);
    m_str = nullptr;
    m_const_str = nullptr;
}